code-graph-rag 0.6.0__tar.gz → 0.6.62__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 (483) hide show
  1. {code_graph_rag-0.6.0/code_graph_rag.egg-info → code_graph_rag-0.6.62}/PKG-INFO +3 -2
  2. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/README.md +5 -4
  3. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62/code_graph_rag.egg-info}/PKG-INFO +3 -2
  4. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/code_graph_rag.egg-info/SOURCES.txt +2 -0
  5. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/code_graph_rag.egg-info/requires.txt +2 -1
  6. code_graph_rag-0.6.62/codebase_rag/analyzers/ast_grep_rules/security/python.yaml +234 -0
  7. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/cli.py +86 -10
  8. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/cli_help.py +18 -0
  9. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_cpp.py +52 -0
  10. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_csharp.py +7 -0
  11. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_dart.py +4 -0
  12. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_java.py +6 -0
  13. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_js.py +47 -0
  14. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_nodes.py +3 -0
  15. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_php.py +1 -0
  16. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_python.py +48 -0
  17. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_rust.py +4 -0
  18. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_scala.py +7 -0
  19. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/cli.py +85 -1
  20. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/deadcode_roots.py +21 -0
  21. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/graph.py +124 -4
  22. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/lang_tooling.py +2 -0
  23. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/languages.py +7 -0
  24. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/mcp.py +4 -0
  25. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/providers.py +9 -0
  26. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/trace.py +10 -0
  27. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/cypher_queries.py +8 -2
  28. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/dead_code.py +7 -0
  29. code_graph_rag-0.6.62/codebase_rag/dispatch_dependents.py +941 -0
  30. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/docker-compose.yaml +1 -1
  31. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/contract.py +4 -0
  32. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/imports.py +171 -4
  33. code_graph_rag-0.6.62/codebase_rag/editing/move.py +3042 -0
  34. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/patcher.py +124 -1
  35. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/rename.py +210 -13
  36. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/function_registry.py +34 -0
  37. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/graph_updater.py +610 -20
  38. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/logs.py +5 -0
  39. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/mcp/tools.py +113 -0
  40. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/call_processor.py +982 -90
  41. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/call_resolver.py +575 -67
  42. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/class_ingest/mixin.py +163 -27
  43. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/csharp/type_inference.py +165 -34
  44. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/csharp/utils.py +40 -0
  45. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/dart/__init__.py +8 -0
  46. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/dart/utils.py +212 -2
  47. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/definition_processor.py +16 -2
  48. code_graph_rag-0.6.62/codebase_rag/parsers/export_detection.py +1909 -0
  49. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/factory.py +5 -0
  50. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/field_nodes.py +68 -0
  51. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/flow_access/processor.py +18 -99
  52. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/function_ingest.py +42 -6
  53. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go/utils.py +12 -0
  54. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/import_processor.py +916 -62
  55. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/io_access/constants.py +6 -0
  56. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/io_access/descriptor.py +5 -0
  57. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/io_access/extract.py +4 -0
  58. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/io_access/processor.py +273 -4
  59. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java/method_resolver.py +135 -2
  60. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java/type_inference.py +24 -0
  61. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java/variable_analyzer.py +287 -0
  62. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/js_ts/commonjs_exports.py +750 -18
  63. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/js_ts/module_paths.py +40 -13
  64. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/js_ts/module_system.py +85 -0
  65. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/js_ts/reexports.py +21 -4
  66. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/js_ts/type_inference.py +39 -0
  67. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/parameter_nodes.py +2 -0
  68. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/ast_analyzer.py +880 -64
  69. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/expression_analyzer.py +1 -0
  70. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/type_inference.py +41 -4
  71. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/utils.py +52 -4
  72. code_graph_rag-0.6.62/codebase_rag/parsers/py/with_analyzer.py +854 -0
  73. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/rs/utils.py +22 -1
  74. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/type_facts.py +79 -4
  75. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/type_inference.py +362 -52
  76. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/utils.py +105 -3
  77. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/providers/base.py +15 -1
  78. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/structural_delta.py +90 -7
  79. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/tool_descriptions.py +22 -0
  80. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/ebpf_pprof.py +4 -2
  81. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/pprof.py +25 -3
  82. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/resolution.py +20 -8
  83. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/types_defs.py +38 -10
  84. code_graph_rag-0.6.62/codebase_rag/utils/json_io.py +86 -0
  85. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codec/schema.proto +11 -0
  86. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codec/schema_pb2.py +14 -14
  87. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codec/schema_pb2.pyi +16 -8
  88. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/pyproject.toml +7 -2
  89. code_graph_rag-0.6.0/codebase_rag/analyzers/ast_grep_rules/security/python.yaml +0 -107
  90. code_graph_rag-0.6.0/codebase_rag/parsers/export_detection.py +0 -894
  91. code_graph_rag-0.6.0/codebase_rag/parsers/py/with_analyzer.py +0 -288
  92. code_graph_rag-0.6.0/codebase_rag/utils/json_io.py +0 -31
  93. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/LICENSE +0 -0
  94. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/PYPI_README.md +0 -0
  95. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/cgr/__init__.py +0 -0
  96. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/code_graph_rag.egg-info/dependency_links.txt +0 -0
  97. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/code_graph_rag.egg-info/entry_points.txt +0 -0
  98. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/code_graph_rag.egg-info/top_level.txt +0 -0
  99. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/__init__.py +0 -0
  100. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/_cli_env.py +0 -0
  101. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/__init__.py +0 -0
  102. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_analyzer.py +0 -0
  103. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/c.yaml +0 -0
  104. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/cpp.yaml +0 -0
  105. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/csharp.yaml +0 -0
  106. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/dart.yaml +0 -0
  107. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/go.yaml +0 -0
  108. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/java.yaml +0 -0
  109. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/javascript.yaml +0 -0
  110. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/lua.yaml +0 -0
  111. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/php.yaml +0 -0
  112. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/python.yaml +0 -0
  113. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/ruby.yaml +0 -0
  114. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/rust.yaml +0 -0
  115. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/scala.yaml +0 -0
  116. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/tsx.yaml +0 -0
  117. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/patterns/typescript.yaml +0 -0
  118. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/c.yaml +0 -0
  119. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/cpp.yaml +0 -0
  120. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/csharp.yaml +0 -0
  121. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/dart.yaml +0 -0
  122. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/go.yaml +0 -0
  123. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/java.yaml +0 -0
  124. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/javascript.yaml +0 -0
  125. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/lua.yaml +0 -0
  126. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/php.yaml +0 -0
  127. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/ruby.yaml +0 -0
  128. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/rust.yaml +0 -0
  129. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/scala.yaml +0 -0
  130. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/tsx.yaml +0 -0
  131. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/security/typescript.yaml +0 -0
  132. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/c.yaml +0 -0
  133. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/cpp.yaml +0 -0
  134. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/csharp.yaml +0 -0
  135. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/dart.yaml +0 -0
  136. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/go.yaml +0 -0
  137. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/java.yaml +0 -0
  138. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/javascript.yaml +0 -0
  139. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/lua.yaml +0 -0
  140. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/php.yaml +0 -0
  141. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/python.yaml +0 -0
  142. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/ruby.yaml +0 -0
  143. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/rust.yaml +0 -0
  144. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/scala.yaml +0 -0
  145. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/tsx.yaml +0 -0
  146. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/analyzers/ast_grep_rules/smells/typescript.yaml +0 -0
  147. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/ast_cache.py +0 -0
  148. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/capture.py +0 -0
  149. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/check_isolation.py +0 -0
  150. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/checkout_state.py +0 -0
  151. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/cli_runtime.py +0 -0
  152. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/config.py +0 -0
  153. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/console_marks.py +0 -0
  154. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/__init__.py +0 -0
  155. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_go.py +0 -0
  156. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_julia.py +0 -0
  157. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_lua.py +0 -0
  158. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/ast_sql.py +0 -0
  159. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/build.py +0 -0
  160. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/core.py +0 -0
  161. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/deps.py +0 -0
  162. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/duplicates.py +0 -0
  163. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/embedded_graph.py +0 -0
  164. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/fqn_specs.py +0 -0
  165. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/health.py +0 -0
  166. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/interface.py +0 -0
  167. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/notebook.py +0 -0
  168. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/port.py +0 -0
  169. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/security.py +0 -0
  170. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/sqlite_vectors.py +0 -0
  171. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/stdlib_types.py +0 -0
  172. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/constants/structural.py +0 -0
  173. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/context_pruning.py +0 -0
  174. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/context_slice.py +0 -0
  175. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/crash_correlation.py +0 -0
  176. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/decorators.py +0 -0
  177. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/duplicates.py +0 -0
  178. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/__init__.py +0 -0
  179. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/cli.py +0 -0
  180. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/import_paths.py +0 -0
  181. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/occurrences.py +0 -0
  182. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/signature.py +0 -0
  183. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/signature_bind.py +0 -0
  184. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/signature_contract.py +0 -0
  185. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/signature_js.py +0 -0
  186. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/signature_js_bind.py +0 -0
  187. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/signature_spec.py +0 -0
  188. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/sites.py +0 -0
  189. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editing/transaction.py +0 -0
  190. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/editor_links.py +0 -0
  191. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/__init__.py +0 -0
  192. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/compiler.py +0 -0
  193. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/connection.py +0 -0
  194. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/cypher_ast.py +0 -0
  195. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/executor.py +0 -0
  196. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/expressions.py +0 -0
  197. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/extension.py +0 -0
  198. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/functions.py +0 -0
  199. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/lexer.py +0 -0
  200. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/limits.py +0 -0
  201. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/native.py +0 -0
  202. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/parser.py +0 -0
  203. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/procedures.py +0 -0
  204. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/sql.py +0 -0
  205. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/store.py +0 -0
  206. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedded_graph/types.py +0 -0
  207. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/embedder.py +0 -0
  208. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/exceptions.py +0 -0
  209. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/flow_verdict.py +0 -0
  210. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/gloss.py +0 -0
  211. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/gloss_anchor.py +0 -0
  212. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/gloss_repair.py +0 -0
  213. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/graph_audit.py +0 -0
  214. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/graph_cli.py +0 -0
  215. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/graph_dialects.py +0 -0
  216. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/graph_loader.py +0 -0
  217. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/graph_query.py +0 -0
  218. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/instructions_trust.py +0 -0
  219. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/interface_skip.py +0 -0
  220. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/language_spec.py +0 -0
  221. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/main.py +0 -0
  222. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/mcp/__init__.py +0 -0
  223. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/mcp/client.py +0 -0
  224. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/mcp/server.py +0 -0
  225. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/mgclient_compat.py +0 -0
  226. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/mgclient_probe.py +0 -0
  227. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/models.py +0 -0
  228. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parser_fingerprint.py +0 -0
  229. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parser_loader.py +0 -0
  230. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/__init__.py +0 -0
  231. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/anchor_hash.py +0 -0
  232. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_fingerprint.py +0 -0
  233. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_grep_patterns/bash.yaml +0 -0
  234. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_grep_patterns/elixir.yaml +0 -0
  235. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_grep_patterns/haskell.yaml +0 -0
  236. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_grep_patterns/kotlin.yaml +0 -0
  237. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_grep_patterns/nix.yaml +0 -0
  238. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_grep_patterns/ruby.yaml +0 -0
  239. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_grep_patterns/solidity.yaml +0 -0
  240. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_grep_patterns/swift.yaml +0 -0
  241. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_grep_scope.py +0 -0
  242. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/ast_grep_tier.py +0 -0
  243. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/build_lock.py +0 -0
  244. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/class_ingest/__init__.py +0 -0
  245. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/class_ingest/base_targets.py +0 -0
  246. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/class_ingest/cpp_modules.py +0 -0
  247. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/class_ingest/identity.py +0 -0
  248. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/class_ingest/method_override.py +0 -0
  249. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/class_ingest/node_type.py +0 -0
  250. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/class_ingest/parent_extraction.py +0 -0
  251. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/class_ingest/relationships.py +0 -0
  252. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/class_ingest/utils.py +0 -0
  253. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/contract_linking.py +0 -0
  254. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/contracts.py +0 -0
  255. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp/__init__.py +0 -0
  256. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp/class_macro.py +0 -0
  257. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp/function_values.py +0 -0
  258. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp/local_types.py +0 -0
  259. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp/overloads.py +0 -0
  260. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp/preproc_recovery.py +0 -0
  261. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp/trailing_annotation.py +0 -0
  262. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp/type_inference.py +0 -0
  263. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp/utils.py +0 -0
  264. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp_frontend/__init__.py +0 -0
  265. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp_frontend/constants.py +0 -0
  266. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp_frontend/frontend.py +0 -0
  267. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/cpp_frontend/qn.py +0 -0
  268. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/csharp/__init__.py +0 -0
  269. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/csharp/arity.py +0 -0
  270. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/csharp_frontend/__init__.py +0 -0
  271. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/csharp_frontend/frontend.py +0 -0
  272. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/csharp_frontend/roslyn/Frontend.cs +0 -0
  273. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/csharp_frontend/roslyn/Frontend.csproj +0 -0
  274. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/csharp_frontend/roslyn/Program.cs +0 -0
  275. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/dart/package_paths.py +0 -0
  276. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/dart/type_inference.py +0 -0
  277. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/definition_docstring.py +0 -0
  278. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/dependency_parser.py +0 -0
  279. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/dispatch_registry.py +0 -0
  280. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/document_tier.py +0 -0
  281. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/endpoint_prefixes.py +0 -0
  282. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/endpoint_routes.py +0 -0
  283. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/endpoints.py +0 -0
  284. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/enum_variants.py +0 -0
  285. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/flat_module.py +0 -0
  286. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/flow_access/__init__.py +0 -0
  287. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/flow_access/constants.py +0 -0
  288. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/frontend_mode.py +0 -0
  289. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/frontends/__init__.py +0 -0
  290. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/frontends/cpp.py +0 -0
  291. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/frontends/csharp.py +0 -0
  292. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/frontends/go.py +0 -0
  293. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/frontends/java.py +0 -0
  294. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/frontends/protocol.py +0 -0
  295. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/frontends/python.py +0 -0
  296. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/frontends/registry.py +0 -0
  297. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go/__init__.py +0 -0
  298. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go/builds.py +0 -0
  299. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go/interface_ingest.py +0 -0
  300. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go/interfaces.py +0 -0
  301. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go/link_state.py +0 -0
  302. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go/module_paths.py +0 -0
  303. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go/type_inference.py +0 -0
  304. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go_frontend/__init__.py +0 -0
  305. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go_frontend/frontend.py +0 -0
  306. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go_frontend/gotypes/go.mod +0 -0
  307. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go_frontend/gotypes/go.sum +0 -0
  308. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/go_frontend/gotypes/main.go +0 -0
  309. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/__init__.py +0 -0
  310. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/base.py +0 -0
  311. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/cpp.py +0 -0
  312. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/java.py +0 -0
  313. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/js_ts.py +0 -0
  314. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/julia.py +0 -0
  315. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/lua.py +0 -0
  316. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/php.py +0 -0
  317. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/protocol.py +0 -0
  318. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/python.py +0 -0
  319. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/registry.py +0 -0
  320. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/handlers/rust.py +0 -0
  321. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/interface_fingerprint.py +0 -0
  322. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/io_access/__init__.py +0 -0
  323. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/io_access/models.py +0 -0
  324. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/io_access/registry.py +0 -0
  325. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/io_access/resource_names.py +0 -0
  326. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/io_access/url_folding.py +0 -0
  327. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java/__init__.py +0 -0
  328. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java/type_resolver.py +0 -0
  329. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java/utils.py +0 -0
  330. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java_frontend/__init__.py +0 -0
  331. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java_frontend/frontend.py +0 -0
  332. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java_frontend/javac/cgr/Frontend.java +0 -0
  333. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java_generated.py +0 -0
  334. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/java_lombok.py +0 -0
  335. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/js_ts/__init__.py +0 -0
  336. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/js_ts/ingest.py +0 -0
  337. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/js_ts/overloads.py +0 -0
  338. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/js_ts/utils.py +0 -0
  339. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/julia/__init__.py +0 -0
  340. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/julia/utils.py +0 -0
  341. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/lua/__init__.py +0 -0
  342. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/lua/type_inference.py +0 -0
  343. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/lua/utils.py +0 -0
  344. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/module_docstring.py +0 -0
  345. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/native_trees.py +0 -0
  346. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/notebook.py +0 -0
  347. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/php/__init__.py +0 -0
  348. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/php/class_names.py +0 -0
  349. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/php/namespaces.py +0 -0
  350. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/php/utils.py +0 -0
  351. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/positional_params.py +0 -0
  352. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/__init__.py +0 -0
  353. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/class_aliases.py +0 -0
  354. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/definition_index.py +0 -0
  355. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/flow_bindings.py +0 -0
  356. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/forward_refs.py +0 -0
  357. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/overloads.py +0 -0
  358. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/patterns.py +0 -0
  359. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/receiver_rebinding.py +0 -0
  360. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py/variable_analyzer.py +0 -0
  361. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py_frontend/__init__.py +0 -0
  362. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/py_frontend/frontend.py +0 -0
  363. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/python_source_roots.py +0 -0
  364. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/rpc_exposure.py +0 -0
  365. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/rs/__init__.py +0 -0
  366. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/rs/cargo_semver.py +0 -0
  367. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/rs/type_inference.py +0 -0
  368. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/scala/__init__.py +0 -0
  369. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/scala/utils.py +0 -0
  370. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/semantic_call_join.py +0 -0
  371. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/sql_ddl.py +0 -0
  372. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/sql_recovery.py +0 -0
  373. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/stdlib_extractor.py +0 -0
  374. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/string_call.py +0 -0
  375. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/parsers/structure_processor.py +0 -0
  376. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/path_filters.py +0 -0
  377. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/port_cli.py +0 -0
  378. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/port_parity.py +0 -0
  379. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/project_selection.py +0 -0
  380. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/prompts.py +0 -0
  381. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/providers/__init__.py +0 -0
  382. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/providers/litellm.py +0 -0
  383. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/queries/highlights/c_sharp.scm +0 -0
  384. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/queries/highlights/dart.scm +0 -0
  385. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/queries/highlights/java.scm +0 -0
  386. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/queries/highlights/javascript.scm +0 -0
  387. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/queries/highlights/julia.scm +0 -0
  388. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/queries/highlights/php.scm +0 -0
  389. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/queries/highlights/python.scm +0 -0
  390. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/queries/highlights/rust.scm +0 -0
  391. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/queries/highlights/typescript.scm +0 -0
  392. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/readme_sections.py +0 -0
  393. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/schema_builder.py +0 -0
  394. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/schema_parse.py +0 -0
  395. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/schemas.py +0 -0
  396. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/sensitive_paths.py +0 -0
  397. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/__init__.py +0 -0
  398. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/anthropic_token_counter.py +0 -0
  399. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/cypher_guard.py +0 -0
  400. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/filtering.py +0 -0
  401. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/gloss_cleanup.py +0 -0
  402. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/graph_diff.py +0 -0
  403. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/graph_service.py +0 -0
  404. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/llm.py +0 -0
  405. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/neo4j_driver.py +0 -0
  406. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/protobuf_service.py +0 -0
  407. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/provenance.py +0 -0
  408. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/resource_cleanup.py +0 -0
  409. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/services/usage_cost.py +0 -0
  410. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/source_checkout.py +0 -0
  411. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/sql_names.py +0 -0
  412. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/sqlite_vectors.py +0 -0
  413. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/stack/__init__.py +0 -0
  414. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/stack/cli.py +0 -0
  415. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/stack/constants.py +0 -0
  416. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/stack/health.py +0 -0
  417. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/stack/manager.py +0 -0
  418. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/structural_check.py +0 -0
  419. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/sync_guard.py +0 -0
  420. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/sync_lock.py +0 -0
  421. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/taint.py +0 -0
  422. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tool_errors.py +0 -0
  423. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/__init__.py +0 -0
  424. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/ast_grep_service.py +0 -0
  425. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/code_retrieval.py +0 -0
  426. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/codebase_query.py +0 -0
  427. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/directory_lister.py +0 -0
  428. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/duplicate_detection.py +0 -0
  429. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/file_editor.py +0 -0
  430. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/file_reader.py +0 -0
  431. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/file_writer.py +0 -0
  432. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/graph_refresh.py +0 -0
  433. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/graph_rerank.py +0 -0
  434. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/health_checker.py +0 -0
  435. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/language.py +0 -0
  436. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/language_catalog.py +0 -0
  437. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/research.py +0 -0
  438. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/semantic_search.py +0 -0
  439. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/shell_command.py +0 -0
  440. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/structural_editor.py +0 -0
  441. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/structural_search.py +0 -0
  442. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tools/web_search.py +0 -0
  443. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/__init__.py +0 -0
  444. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/carry.py +0 -0
  445. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/cli.py +0 -0
  446. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/cpuprofile.py +0 -0
  447. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/dispatch_site.py +0 -0
  448. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/ingest.py +0 -0
  449. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/instrumented.py +0 -0
  450. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/pytest_plugin.py +0 -0
  451. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/records.py +0 -0
  452. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/rust_pprof.py +0 -0
  453. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/sourcemap.py +0 -0
  454. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/speedscope.py +0 -0
  455. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/tracer.py +0 -0
  456. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/trace/xdebug.py +0 -0
  457. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/tree_sitter_point.py +0 -0
  458. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/unixcoder.py +0 -0
  459. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/__init__.py +0 -0
  460. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/cpp_signatures.py +0 -0
  461. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/dependencies.py +0 -0
  462. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/endpoints.py +0 -0
  463. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/fqn_resolver.py +0 -0
  464. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/interruptible_thread.py +0 -0
  465. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/path_utils.py +0 -0
  466. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/process_owner.py +0 -0
  467. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/qn_markers.py +0 -0
  468. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/rich_markdown.py +0 -0
  469. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/safe_xml.py +0 -0
  470. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/source_encoding.py +0 -0
  471. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/source_extraction.py +0 -0
  472. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/terminal_console.py +0 -0
  473. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/token_utils.py +0 -0
  474. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/utils/toml_writer.py +0 -0
  475. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/vector_store.py +0 -0
  476. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/watch.py +0 -0
  477. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/workspaces/__init__.py +0 -0
  478. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/workspaces/cli.py +0 -0
  479. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/workspaces/constants.py +0 -0
  480. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/workspaces/models.py +0 -0
  481. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codebase_rag/workspaces/storage.py +0 -0
  482. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/codec/__init__.py +0 -0
  483. {code_graph_rag-0.6.0 → code_graph_rag-0.6.62}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-graph-rag
3
- Version: 0.6.0
3
+ Version: 0.6.62
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
@@ -23,6 +23,7 @@ Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  Requires-Dist: loguru>=0.7.3
25
25
  Requires-Dist: mcp<3,>=2.3.0
26
+ Requires-Dist: opentelemetry-api>=1.45.2
26
27
  Requires-Dist: jsonschema>=4.20.0
27
28
  Requires-Dist: pydantic-ai-slim[anthropic,google,openai]>=2.0.0
28
29
  Requires-Dist: pydantic-settings>=2.12.0
@@ -43,7 +44,7 @@ Requires-Dist: pygments>=2.20.0
43
44
  Requires-Dist: httpx>=0.28.1
44
45
  Requires-Dist: certifi>=2026.10.23
45
46
  Requires-Dist: regex>=2024.11.6
46
- Requires-Dist: cgr-graph-rs<0.2,>=0.1.6
47
+ Requires-Dist: cgr-graph-rs<0.2,>=0.1.8
47
48
  Provides-Extra: test
48
49
  Requires-Dist: jedi>=0.19; extra == "test"
49
50
  Requires-Dist: pytest>=8.4.1; extra == "test"
@@ -61,10 +61,11 @@ 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
- - **Continuous Integration Improvements**: Enhanced release cadence tracking and ensured accurate green status for deferred releases.
65
- - **Code Quality & Clarity**: Resolved several code style and correctness issues including foreach loop variable typing and Python method receiver handling.
66
- - **Build Process Refinement**: Reduced the default install package count and improved makefile functionality for host/port watching.
67
- - **Feature Control**: Prevented the use of `--no-endpoint-roots` when endpoint data is absent.
64
+ - **Import Resolution**: Enhanced resolution of imports, particularly for CommonJS renamed properties and path-qualified functions.
65
+ - **Incremental Builds**: Ensured unchanged classes retain their field types across incremental syncs.
66
+ - **Python Property Access**: Scoped Python property reads to their respective receivers.
67
+ - **Cross-Language Imports**: Rejected cross-language internal import targets to improve clarity.
68
+ - **Constructor Initialisation**: Correctly handled attribute field initializers in TS/JS, Java and C# constructors.
68
69
  <!-- /SECTION:latest_news -->
69
70
 
70
71
  See [NEWS.md](NEWS.md) for the full history.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code-graph-rag
3
- Version: 0.6.0
3
+ Version: 0.6.62
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
@@ -23,6 +23,7 @@ Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  Requires-Dist: loguru>=0.7.3
25
25
  Requires-Dist: mcp<3,>=2.3.0
26
+ Requires-Dist: opentelemetry-api>=1.45.2
26
27
  Requires-Dist: jsonschema>=4.20.0
27
28
  Requires-Dist: pydantic-ai-slim[anthropic,google,openai]>=2.0.0
28
29
  Requires-Dist: pydantic-settings>=2.12.0
@@ -43,7 +44,7 @@ Requires-Dist: pygments>=2.20.0
43
44
  Requires-Dist: httpx>=0.28.1
44
45
  Requires-Dist: certifi>=2026.10.23
45
46
  Requires-Dist: regex>=2024.11.6
46
- Requires-Dist: cgr-graph-rs<0.2,>=0.1.6
47
+ Requires-Dist: cgr-graph-rs<0.2,>=0.1.8
47
48
  Provides-Extra: test
48
49
  Requires-Dist: jedi>=0.19; extra == "test"
49
50
  Requires-Dist: pytest>=8.4.1; extra == "test"
@@ -26,6 +26,7 @@ codebase_rag/crash_correlation.py
26
26
  codebase_rag/cypher_queries.py
27
27
  codebase_rag/dead_code.py
28
28
  codebase_rag/decorators.py
29
+ codebase_rag/dispatch_dependents.py
29
30
  codebase_rag/docker-compose.yaml
30
31
  codebase_rag/duplicates.py
31
32
  codebase_rag/editor_links.py
@@ -165,6 +166,7 @@ codebase_rag/editing/cli.py
165
166
  codebase_rag/editing/contract.py
166
167
  codebase_rag/editing/import_paths.py
167
168
  codebase_rag/editing/imports.py
169
+ codebase_rag/editing/move.py
168
170
  codebase_rag/editing/occurrences.py
169
171
  codebase_rag/editing/patcher.py
170
172
  codebase_rag/editing/rename.py
@@ -1,5 +1,6 @@
1
1
  loguru>=0.7.3
2
2
  mcp<3,>=2.3.0
3
+ opentelemetry-api>=1.45.2
3
4
  jsonschema>=4.20.0
4
5
  pydantic-ai-slim[anthropic,google,openai]>=2.0.0
5
6
  pydantic-settings>=2.12.0
@@ -20,7 +21,7 @@ pygments>=2.20.0
20
21
  httpx>=0.28.1
21
22
  certifi>=2026.10.23
22
23
  regex>=2024.11.6
23
- cgr-graph-rs<0.2,>=0.1.6
24
+ cgr-graph-rs<0.2,>=0.1.8
24
25
 
25
26
  [ast-grep]
26
27
  ast-grep-py>=0.51.0
@@ -0,0 +1,234 @@
1
+ # ast-grep security rules for Python (issue #413).
2
+ # Each match becomes a SecurityIssue node linked to the file's Module via
3
+ # HAS_VULNERABILITY. Rules are heuristic; treat findings as review prompts.
4
+ ast_grep_id: python
5
+ extensions: [.py]
6
+ rules:
7
+ - id: sqli_concat
8
+ message: "Possible SQL injection: query built with string concatenation or % formatting"
9
+ rule:
10
+ any:
11
+ - pattern: "$OBJ.execute($A + $B)"
12
+ # (%) matches only when a string literal is present, so a numeric modulo
13
+ # like execute(index % shard_count) is not mistaken for query formatting.
14
+ - all:
15
+ - pattern: "$OBJ.execute($A % $B)"
16
+ - has: { kind: string, stopBy: end }
17
+ - id: sqli_fstring
18
+ message: "Possible SQL injection: execute() called with an f-string"
19
+ # The callee is execute/executemany and the f-string is one of ITS
20
+ # arguments. Searching the whole subtree for each (issue #2691) matched a
21
+ # keyword argument named `execute`, an f-string beside a constant query,
22
+ # and every call enclosing a real one, once per enclosing call. The search
23
+ # descends only through parentheses and adjacent-literal concatenation, so
24
+ # `execute((f"..."))` and `execute(f"..." " LIMIT 1")` are still found
25
+ # while an f-string inside a parameter tuple or a nested call is not.
26
+ rule:
27
+ kind: call
28
+ all:
29
+ - has: { field: function, regex: '(?:^|\.)execute(?:many)?$' }
30
+ - has:
31
+ field: arguments
32
+ has:
33
+ kind: string
34
+ regex: '^(?i:f|rf|fr)[\x27"]'
35
+ stopBy:
36
+ not:
37
+ any:
38
+ - kind: parenthesized_expression
39
+ - kind: concatenated_string
40
+ - id: sqli_format
41
+ message: "Possible SQL injection: query built with str.format()"
42
+ # `"... {}".format(u)` builds the query as `+`, `%` and f-strings do
43
+ # (issue #2863). The query is execute's first argument, the receiver a
44
+ # string literal, and at least one formatted value is not a constant, so
45
+ # `.format(5)`, a value formatted into the bound parameters and a string
46
+ # built inside a nested call stay clean. Parentheses around the query, the
47
+ # receiver or a value build the same string, so each is read through them:
48
+ # `field` with `stopBy` looks through only one pair, hence the nesting.
49
+ rule:
50
+ kind: call
51
+ all:
52
+ - has: { field: function, regex: '(?:^|\.)execute(?:many)?$' }
53
+ - has:
54
+ field: arguments
55
+ has:
56
+ kind: call
57
+ nthChild: 1
58
+ all:
59
+ - has:
60
+ field: function
61
+ kind: attribute
62
+ all:
63
+ - has:
64
+ field: object
65
+ any:
66
+ - kind: string
67
+ - kind: concatenated_string
68
+ - kind: parenthesized_expression
69
+ has:
70
+ any: [{ kind: string }, { kind: concatenated_string }]
71
+ stopBy:
72
+ not: { kind: parenthesized_expression }
73
+ - has: { field: attribute, regex: '^format$' }
74
+ - has:
75
+ field: arguments
76
+ has:
77
+ any:
78
+ - kind: identifier
79
+ not: { inside: { kind: keyword_argument, field: name } }
80
+ - kind: attribute
81
+ - kind: subscript
82
+ - kind: call
83
+ - kind: binary_operator
84
+ - kind: conditional_expression
85
+ - kind: list_splat
86
+ - kind: dictionary_splat
87
+ - kind: string
88
+ has: { kind: interpolation }
89
+ stopBy:
90
+ not:
91
+ any:
92
+ - kind: parenthesized_expression
93
+ - kind: keyword_argument
94
+ - kind: concatenated_string
95
+ stopBy:
96
+ not: { kind: parenthesized_expression }
97
+ - id: hardcoded_secret
98
+ # Security rule: favour recall. Value must be a non-trivial literal (>=8
99
+ # chars) that is not a format/message template (an f-string/.format {..}
100
+ # placeholder or a printf %s/%d specifier). Braces and % conversions are the
101
+ # only exclusions so real secrets that legitimately contain %, spaces, URLs
102
+ # with embedded credentials, or SCREAMING_SNAKE shapes are still caught.
103
+ # Ceiling: without entropy scoring, identifier/word/URL-name literals (e.g.
104
+ # "OPENAI_API_KEY", "cl100k_base") still surface as review prompts; that
105
+ # residual is the known limit of regex-only secret detection, not a defect.
106
+ message: "Hardcoded secret assigned to a credential-named variable"
107
+ rule:
108
+ kind: assignment
109
+ all:
110
+ - has: { field: left, regex: '(?i)(password|secret|api_key|token)' }
111
+ - has:
112
+ field: right
113
+ all:
114
+ - kind: string
115
+ - regex: '^.{10,}$'
116
+ - not:
117
+ any:
118
+ - regex: '\{[^{}]*\}'
119
+ - regex: '%[sdrifeEgGxXoc(]'
120
+ - id: eval_use
121
+ message: "eval() executes arbitrary code"
122
+ rule:
123
+ pattern: "eval($$$)"
124
+ - id: exec_use
125
+ message: "exec() executes arbitrary code"
126
+ rule:
127
+ pattern: "exec($$$)"
128
+ - id: os_system_concat
129
+ message: "Possible command injection: os.system() with concatenation"
130
+ rule:
131
+ pattern: "os.system($A + $B)"
132
+ - id: os_system_fstring
133
+ message: "Possible command injection: os.system() with an f-string"
134
+ # The command f-string must interpolate something: `f"ping localhost"` is
135
+ # a constant (issue #2863).
136
+ rule:
137
+ kind: call
138
+ all:
139
+ - has: { field: function, regex: '^os\.system$' }
140
+ - has:
141
+ field: arguments
142
+ has:
143
+ kind: string
144
+ regex: '^(?i:f|rf|fr)[\x27"]'
145
+ has: { kind: interpolation }
146
+ stopBy:
147
+ not:
148
+ any:
149
+ - kind: parenthesized_expression
150
+ - kind: concatenated_string
151
+ - id: os_system_format
152
+ message: "Possible command injection: os.system() with str.format()"
153
+ # Same str.format() shape as sqli_format (issue #2863).
154
+ rule:
155
+ kind: call
156
+ all:
157
+ - has: { field: function, regex: '^os\.system$' }
158
+ - has:
159
+ field: arguments
160
+ has:
161
+ kind: call
162
+ nthChild: 1
163
+ all:
164
+ - has:
165
+ field: function
166
+ kind: attribute
167
+ all:
168
+ - has:
169
+ field: object
170
+ any:
171
+ - kind: string
172
+ - kind: concatenated_string
173
+ - kind: parenthesized_expression
174
+ has:
175
+ any: [{ kind: string }, { kind: concatenated_string }]
176
+ stopBy:
177
+ not: { kind: parenthesized_expression }
178
+ - has: { field: attribute, regex: '^format$' }
179
+ - has:
180
+ field: arguments
181
+ has:
182
+ any:
183
+ - kind: identifier
184
+ not: { inside: { kind: keyword_argument, field: name } }
185
+ - kind: attribute
186
+ - kind: subscript
187
+ - kind: call
188
+ - kind: binary_operator
189
+ - kind: conditional_expression
190
+ - kind: list_splat
191
+ - kind: dictionary_splat
192
+ - kind: string
193
+ has: { kind: interpolation }
194
+ stopBy:
195
+ not:
196
+ any:
197
+ - kind: parenthesized_expression
198
+ - kind: keyword_argument
199
+ - kind: concatenated_string
200
+ stopBy:
201
+ not: { kind: parenthesized_expression }
202
+ - id: subprocess_shell
203
+ message: "subprocess called with shell=True enables command injection"
204
+ # The call's OWN `shell=True` keyword argument: the text anywhere under
205
+ # the call also matched a string argument (`["grep", "shell=True"]`), a
206
+ # comment between the arguments or another call's keyword, none of which
207
+ # runs a shell (issue #2869).
208
+ rule:
209
+ pattern: "subprocess.$M($$$)"
210
+ has:
211
+ field: arguments
212
+ has:
213
+ kind: keyword_argument
214
+ all:
215
+ - has: { field: name, regex: '^shell$' }
216
+ - has: { field: value, kind: 'true' }
217
+ - id: yaml_load
218
+ message: "yaml.load() without SafeLoader can execute arbitrary code"
219
+ # A SafeLoader or CSafeLoader, by keyword or as the second positional
220
+ # argument, is the fix this message asks for (issue #2691).
221
+ rule:
222
+ pattern: "yaml.load($$$)"
223
+ not:
224
+ has:
225
+ field: arguments
226
+ has:
227
+ any:
228
+ - kind: keyword_argument
229
+ regex: '^Loader\s*=\s*(?:yaml\.)?C?SafeLoader$'
230
+ - regex: '^(?:yaml\.)?C?SafeLoader$'
231
+ - id: pickle_loads
232
+ message: "pickle.loads() on untrusted data executes arbitrary code"
233
+ rule:
234
+ pattern: "pickle.loads($$$)"
@@ -10,7 +10,7 @@ import tempfile
10
10
  import time
11
11
  import uuid
12
12
  from collections.abc import Callable, Coroutine, Generator, Iterable
13
- from contextlib import ExitStack, contextmanager
13
+ from contextlib import ExitStack, contextmanager, nullcontext
14
14
  from fnmatch import fnmatch
15
15
  from functools import partial, wraps
16
16
  from importlib.metadata import version as get_version
@@ -1815,9 +1815,15 @@ def diff_index_command(
1815
1815
  Path(json_out).write_text(rendered + "\n", encoding="utf-8")
1816
1816
  _info(style(cs.CLI_MSG_DIFF_WRITTEN.format(path=json_out), cs.Color.CYAN))
1817
1817
  else:
1818
- app_context.console.print(rendered)
1818
+ # Data, not console text: Rich would read `[id]` path segments as
1819
+ # markup and highlight the JSON, so stdout would differ from the
1820
+ # --json-out file (issue #2662).
1821
+ typer.echo(rendered)
1819
1822
  if diff_is_empty(diff):
1820
- _info(style(cs.CLI_MSG_DIFF_EMPTY, cs.Color.GREEN))
1823
+ # Without --json-out, stdout is the JSON and nothing else: a status
1824
+ # line after it would stop `json.loads(stdout)` from parsing it.
1825
+ with _console_on_stderr() if json_out is None else nullcontext():
1826
+ _info(style(cs.CLI_MSG_DIFF_EMPTY, cs.Color.GREEN))
1821
1827
 
1822
1828
 
1823
1829
  @app.command(
@@ -2435,6 +2441,75 @@ def rename_command(
2435
2441
  raise typer.Exit(code=1)
2436
2442
 
2437
2443
 
2444
+ @app.command(
2445
+ name=ch.CLICommandName.MOVE,
2446
+ help=ch.CMD_MOVE,
2447
+ short_help=ch.CMD_MOVE,
2448
+ epilog=ch.EXAMPLES_MOVE,
2449
+ rich_help_panel=ch.PANEL_USE,
2450
+ )
2451
+ def move_command(
2452
+ qualified_name: str = typer.Argument(..., help=ch.HELP_MOVE_QN),
2453
+ target_module: str = typer.Argument(..., help=ch.HELP_MOVE_TARGET),
2454
+ repo_path: Path = typer.Option(
2455
+ Path(cs.MCP_DEFAULT_DIRECTORY),
2456
+ "--repo-path",
2457
+ exists=True,
2458
+ file_okay=False,
2459
+ help=ch.HELP_GRAPH_REPO_PATH,
2460
+ ),
2461
+ project: str | None = typer.Option(None, "--project", help=ch.HELP_GRAPH_PROJECT),
2462
+ keep_alias: bool = typer.Option(
2463
+ False, "--keep-alias", help=ch.HELP_MOVE_KEEP_ALIAS
2464
+ ),
2465
+ dry_run: bool = typer.Option(False, "--dry-run", help=ch.HELP_MOVE_DRY_RUN),
2466
+ ) -> None:
2467
+ from .editing.move import MoveRefused, move
2468
+ from .graph_cli import _project_and_fetch
2469
+ from .graph_query import source_root_for
2470
+
2471
+ name, fetch_all, ingestor = _project_and_fetch(project, repo_path)
2472
+ with ingestor:
2473
+ # An explicit --project may name a graph indexed from another
2474
+ # checkout; its repo-relative paths must not be edited under this one.
2475
+ if source_root_for(fetch_all, name, repo_path) is None:
2476
+ typer.echo(
2477
+ cs.MOVE_CLI_WRONG_ROOT.format(project=name, root=repo_path.resolve()),
2478
+ err=True,
2479
+ )
2480
+ raise typer.Exit(code=1)
2481
+ parsers, queries = load_parsers()
2482
+ from .graph_updater import GraphUpdater
2483
+
2484
+ updater = GraphUpdater(
2485
+ ingestor=ingestor,
2486
+ repo_path=repo_path.resolve(),
2487
+ parsers=parsers,
2488
+ queries=queries,
2489
+ project_name=name,
2490
+ )
2491
+ try:
2492
+ report = move(
2493
+ repo_path.resolve(),
2494
+ fetch_all,
2495
+ name,
2496
+ qualified_name,
2497
+ target_module,
2498
+ keep_alias=keep_alias,
2499
+ dry_run=dry_run,
2500
+ reingest=updater.reingest,
2501
+ )
2502
+ except MoveRefused as refused:
2503
+ typer.echo(str(refused), err=True)
2504
+ raise typer.Exit(code=1) from refused
2505
+ payload = dict(report._asdict())
2506
+ if report.verdict is not None:
2507
+ payload[cs.KEY_VERDICT] = report.verdict._asdict()
2508
+ typer.echo(json.dumps(payload, indent=cs.MCP_JSON_INDENT, sort_keys=True))
2509
+ if not report.applied and not dry_run:
2510
+ raise typer.Exit(code=1)
2511
+
2512
+
2438
2513
  @app.command(
2439
2514
  name=ch.CLICommandName.CHANGE_SIGNATURE,
2440
2515
  help=ch.CMD_CHANGE_SIGNATURE,
@@ -3108,6 +3183,8 @@ def _build_dead_code_table(candidates: list[DeadCodeRow], project_name: str) ->
3108
3183
  for row in candidates:
3109
3184
  table.add_row(
3110
3185
  row["label"],
3186
+ # Text, not str: a plain str cell is parsed as markup, which drops
3187
+ # route segments like `[id]` from the name (issue #2662).
3111
3188
  Text(row["qualified_name"]),
3112
3189
  Text(row["path"]),
3113
3190
  cs.CLI_DEADCODE_LINE_RANGE.format(
@@ -3394,9 +3471,7 @@ def _exact_copy_cells(
3394
3471
  return [numbers.get(member["qualified_name"], "")] if shown else []
3395
3472
 
3396
3473
 
3397
- def _duplicates_location_cell(
3398
- member: DuplicateMember, root_path: Path | None
3399
- ) -> Text | str:
3474
+ def _duplicates_location_cell(member: DuplicateMember, root_path: Path | None) -> Text:
3400
3475
  """Location as an OSC 8 hyperlink into the editor, plain when rootless.
3401
3476
 
3402
3477
  Rich drops hyperlinks on non-terminal sinks, so file/JSON outputs are
@@ -3408,12 +3483,13 @@ def _duplicates_location_cell(
3408
3483
  start=member["start_line"],
3409
3484
  end=member["end_line"],
3410
3485
  )
3486
+ # Always Text: a str cell would be read as markup (issue #2662).
3487
+ cell = Text(location)
3411
3488
  if root_path is None:
3412
- return location
3489
+ return cell
3413
3490
  url = editor_url(root_path / member["path"], member["start_line"])
3414
3491
  if url is None:
3415
- return location
3416
- cell = Text(location)
3492
+ return cell
3417
3493
  cell.stylize(cs.STYLE_LINK.format(url=url))
3418
3494
  return cell
3419
3495
 
@@ -3480,7 +3556,7 @@ def _build_duplicates_table(
3480
3556
  _duplicates_group_cell(number, group, root_path) if at == 0 else "",
3481
3557
  group["kind"] if at == 0 else "",
3482
3558
  _similarity_text(group) if at == 0 else "",
3483
- member["qualified_name"].removeprefix(prefix),
3559
+ Text(member["qualified_name"].removeprefix(prefix)),
3484
3560
  _duplicates_location_cell(member, root_path),
3485
3561
  *_exact_copy_cells(copy_numbers[number - 1], member, show_copies),
3486
3562
  )
@@ -24,6 +24,7 @@ class CLICommandName(StrEnum):
24
24
  CHECK = "check"
25
25
  RENAME = "rename"
26
26
  CHANGE_SIGNATURE = "change-signature"
27
+ MOVE = "move"
27
28
  CONTEXT = "context"
28
29
  PORT = "port"
29
30
  STOP = "stop"
@@ -227,6 +228,22 @@ HELP_CHANGE_SIGNATURE_ALLOW_HEURISTIC = (
227
228
  "a trace as well, instead of listing them as unmapped."
228
229
  )
229
230
  HELP_CHANGE_SIGNATURE_DRY_RUN = "Print the plan and diff without writing anything."
231
+ CMD_MOVE = (
232
+ "Move a module-level definition to another module: importers rewritten, "
233
+ "needed imports carried, refused when it would create an import cycle."
234
+ )
235
+ EXAMPLES_MOVE = (
236
+ "Examples:\n cgr move myproj.pkg.util.helper pkg.core --dry-run\n"
237
+ " cgr move myproj.pkg.util.helper pkg/core.py --keep-alias"
238
+ )
239
+ HELP_MOVE_QN = "Qualified name of the module-level definition to move."
240
+ HELP_MOVE_DRY_RUN = (
241
+ "Print the plan (files, importers, copied imports) without writing anything."
242
+ )
243
+ HELP_MOVE_TARGET = "Destination module: dotted name (pkg.core) or repo-relative path."
244
+ HELP_MOVE_KEEP_ALIAS = (
245
+ "Leave a re-export at the old location so the old import path still works."
246
+ )
230
247
  CMD_CONTEXT = (
231
248
  "Print a graph-ranked context slice for a symbol, location or task within "
232
249
  "a token budget: source, caller lines, callee signatures, types, tests, docs."
@@ -757,6 +774,7 @@ CLI_COMMANDS: dict[CLICommandName, str] = {
757
774
  CLICommandName.CHECK: CMD_CHECK,
758
775
  CLICommandName.RENAME: CMD_RENAME,
759
776
  CLICommandName.CHANGE_SIGNATURE: CMD_CHANGE_SIGNATURE,
777
+ CLICommandName.MOVE: CMD_MOVE,
760
778
  CLICommandName.CONTEXT: CMD_CONTEXT,
761
779
  CLICommandName.PORT: CMD_PORT,
762
780
  CLICommandName.WORKSPACE: CMD_WORKSPACE,
@@ -150,6 +150,12 @@ CPP_KEYWORD_STRUCT = "struct"
150
150
  # `static` storage on a declaration: internal linkage, TU-local symbol.
151
151
  CPP_KEYWORD_STATIC = "static"
152
152
  TS_CPP_STORAGE_CLASS_SPECIFIER = "storage_class_specifier"
153
+ # A class member's access when no `access_specifier` precedes it: a `class`
154
+ # starts private, a `struct` or `union` public (issue #2707).
155
+ CPP_PRIVATE_BY_DEFAULT = frozenset({"class_specifier"})
156
+ CPP_ACCESS_PRIVATE = "private"
157
+ CPP_ACCESS_PUBLIC = "public"
158
+ TS_FIELD_DECLARATION_LIST = "field_declaration_list"
153
159
  TS_CPP_TYPE_QUALIFIER = "type_qualifier"
154
160
  CPP_EXPORTED_CLASS_KEYWORDS = frozenset({CPP_KEYWORD_CLASS, CPP_KEYWORD_STRUCT})
155
161
 
@@ -266,6 +272,9 @@ TS_CPP_TRANSLATION_UNIT = "translation_unit"
266
272
  TS_CPP_LINKAGE_SPECIFICATION = "linkage_specification"
267
273
  # The body of a namespace or an `extern "C++" { }` block.
268
274
  TS_CPP_DECLARATION_LIST = "declaration_list"
275
+ CPP_NAMESPACE_SCOPE_TYPES = frozenset(
276
+ {TS_CPP_TRANSLATION_UNIT, TS_CPP_DECLARATION_LIST, TS_CPP_LINKAGE_SPECIFICATION}
277
+ )
269
278
  TS_CPP_CALL_EXPRESSION = "call_expression"
270
279
  TS_CPP_FIELD_EXPRESSION = "field_expression"
271
280
  TS_CPP_SUBSCRIPT_EXPRESSION = "subscript_expression"
@@ -518,6 +527,49 @@ TS_CPP_POINTER_EXPRESSION = "pointer_expression"
518
527
  TS_CPP_CAST_EXPRESSION = "cast_expression"
519
528
  TS_CPP_CONDITIONAL_EXPRESSION = "conditional_expression"
520
529
  CPP_OP_ADDRESS_OF = "&"
530
+ # Preprocessor conditionals: they wrap declarations without opening a scope,
531
+ # so what they hold belongs to the scope around them (PR #2952).
532
+ CPP_PREPROC_CONDITIONAL_TYPES = frozenset(
533
+ {"preproc_if", "preproc_ifdef", "preproc_else", "preproc_elif", "preproc_elifdef"}
534
+ )
535
+ # The head of an `#if` chain; its `#elif` / `#else` branches hang off it as
536
+ # the `alternative` field, and only an `#else` makes some branch certain.
537
+ CPP_PREPROC_IF_TYPES = frozenset({"preproc_if", "preproc_ifdef"})
538
+ TS_CPP_PREPROC_ELSE = "preproc_else"
539
+ TS_CPP_PREPROC_DEFINED = "preproc_defined"
540
+ # `#ifndef X` and `#elifndef X` hold when `X` is not defined.
541
+ CPP_PREPROC_NEGATED_DIRECTIVES = frozenset({"#ifndef", "#elifndef"})
542
+ CPP_OP_NOT = "!"
543
+ # Up to this many distinct conditions before a member, in the classes and
544
+ # `#if` blocks around it, every build is tried, so two blocks testing the
545
+ # same flag agree; past it each branch is taken or not on its own, which can
546
+ # only make a member look public.
547
+ CPP_MAX_CORRELATED_CONDITIONS = 6
548
+ # `#define X` and `#define X(a)` give `X` a definition, `#undef X` (a
549
+ # generic `preproc_call`) takes it away; either may change a flag between
550
+ # two blocks that test it.
551
+ CPP_PREPROC_DEFINE_TYPES = frozenset({"preproc_def", "preproc_function_def"})
552
+ TS_CPP_PREPROC_CALL = "preproc_call"
553
+ CPP_FIELD_DIRECTIVE = "directive"
554
+ CPP_PREPROC_UNDEF = "#undef"
555
+ # What can stand for a qualifier besides a namespace or class definition:
556
+ # `namespace A = N;`, `using namespace Q;` (a `using_declaration` holding
557
+ # the `namespace` keyword), `using N::Box;`, and the type aliases `using T =
558
+ # Box;` and `typedef Box T;` (PR #2952).
559
+ TS_CPP_NAMESPACE_ALIAS_DEFINITION = "namespace_alias_definition"
560
+ TS_CPP_USING_DECLARATION = "using_declaration"
561
+ CPP_KEYWORD_NAMESPACE = "namespace"
562
+ # `namespace a::b` and `namespace A = ::N`: a namespace name with parts.
563
+ TS_CPP_NESTED_NAMESPACE_SPECIFIER = "nested_namespace_specifier"
564
+ # `inline namespace v1 {}`: its members are found as members of the
565
+ # namespace around it too.
566
+ CPP_KEYWORD_INLINE = "inline"
567
+ # The path part an unnamed namespace adds: each namespace has one, and what
568
+ # has it in its path is file-private (PR #2952).
569
+ CPP_UNNAMED_NAMESPACE = ""
570
+ CPP_TYPE_ALIAS_TYPES = frozenset({"alias_declaration", "type_definition"})
571
+ # Aliases of aliases are followed this far, so a cycle in broken code ends.
572
+ CPP_MAX_ALIAS_HOPS = 8
521
573
  # Nodes that hold file-scope declarations without opening a scope of their
522
574
  # own: preprocessor conditionals and an `extern "C" { ... }` block.
523
575
  C_FILE_SCOPE_CONTAINER_TYPES = frozenset(
@@ -52,6 +52,7 @@ CSHARP_ARITY_TWIN_CACHE_SIZE = 4
52
52
  # Member declarations -> Function/Method nodes.
53
53
  TS_CSHARP_METHOD_DECLARATION = "method_declaration"
54
54
  TS_CSHARP_CONSTRUCTOR_DECLARATION = "constructor_declaration"
55
+ TS_CSHARP_CONSTRUCTOR_INITIALIZER = "constructor_initializer"
55
56
  TS_CSHARP_DESTRUCTOR_DECLARATION = "destructor_declaration"
56
57
  TS_CSHARP_LOCAL_FUNCTION_STATEMENT = "local_function_statement"
57
58
  TS_CSHARP_OPERATOR_DECLARATION = "operator_declaration"
@@ -110,6 +111,11 @@ TS_CSHARP_BASE_LIST = "base_list"
110
111
  # or a `predefined_type` (an enum's underlying integral type -> not a base).
111
112
  TS_CSHARP_GENERIC_NAME = "generic_name"
112
113
  TS_CSHARP_CAST_EXPRESSION = "cast_expression"
114
+ # `x as T`, the safe cast: its `right` field is the asserted type (#2892).
115
+ TS_CSHARP_AS_EXPRESSION = "as_expression"
116
+ TS_CSHARP_CAST_RECEIVERS = frozenset(
117
+ {TS_CSHARP_CAST_EXPRESSION, TS_CSHARP_AS_EXPRESSION}
118
+ )
113
119
  TS_CSHARP_POSTFIX_UNARY_EXPRESSION = "postfix_unary_expression"
114
120
  TS_CSHARP_IMPLICIT_PARAMETER = "implicit_parameter"
115
121
  TS_CSHARP_FIELD_TYPE_PARAMETERS = "type_parameters"
@@ -134,6 +140,7 @@ CSHARP_OBJECT_VIRTUALS = frozenset(
134
140
  }
135
141
  )
136
142
  TS_CSHARP_LAMBDA_EXPRESSION = "lambda_expression"
143
+ TS_CSHARP_ANONYMOUS_METHOD_EXPRESSION = "anonymous_method_expression"
137
144
  TS_CSHARP_BLOCK = "block"
138
145
  TS_CSHARP_PRIMARY_CONSTRUCTOR_BASE_TYPE = "primary_constructor_base_type"
139
146
  TS_CSHARP_PREDEFINED_TYPE = "predefined_type"
@@ -209,6 +209,10 @@ TS_DART_TYPE_IDENTIFIER = "type_identifier"
209
209
  # `import '...' as name;` alias
210
210
  TS_DART_IMPORT_SPECIFICATION = "import_specification"
211
211
  DART_IMPORT_ALIAS_KEYWORD = "as"
212
+ # `show A, B` / `hide C` after a directive's URI: the keyword is the
213
+ # combinator's first child, the names it lists are its identifiers.
214
+ TS_DART_COMBINATOR = "combinator"
215
+ TS_DART_SHOW = "show"
212
216
 
213
217
  # URI scheme prefixes distinguishing external (dart:/package:) from
214
218
  # first-party (relative path) imports.
@@ -71,6 +71,11 @@ TS_TRY_WITH_RESOURCES_STATEMENT = "try_with_resources_statement"
71
71
  # One declaration inside a try-with-resources header; binds via `name`/`value`
72
72
  # fields exactly like a variable_declarator.
73
73
  TS_JAVA_RESOURCE = "resource"
74
+ # A catch clause's parameter: its type lives in a `catch_type` child (a
75
+ # `catch_type` holds one type, or several `|`-separated types for a
76
+ # multi-catch), never in a `type` field.
77
+ TS_CATCH_FORMAL_PARAMETER = "catch_formal_parameter"
78
+ TS_JAVA_CATCH_TYPE = "catch_type"
74
79
  TS_RECORD_DECLARATION = "record_declaration"
75
80
  TS_TRUE = "true"
76
81
  TS_FALSE = "false"
@@ -160,6 +165,7 @@ JAVA_HEURISTIC_ORDER = "Order"
160
165
  TS_PACKAGE_DECLARATION = "package_declaration"
161
166
  TS_ANNOTATION_TYPE_DECLARATION = "annotation_type_declaration"
162
167
  TS_CONSTRUCTOR_DECLARATION = "constructor_declaration"
168
+ TS_EXPLICIT_CONSTRUCTOR_INVOCATION = "explicit_constructor_invocation"
163
169
  TS_ANNOTATION = "annotation"
164
170
  TS_MARKER_ANNOTATION = "marker_annotation"
165
171
  TS_GENERIC_TYPE = "generic_type"