code-graph-rag 0.7.79__tar.gz → 0.7.129__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.
- {code_graph_rag-0.7.79/code_graph_rag.egg-info → code_graph_rag-0.7.129}/PKG-INFO +3 -3
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/README.md +5 -2
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129/code_graph_rag.egg-info}/PKG-INFO +3 -3
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/code_graph_rag.egg-info/SOURCES.txt +9 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/code_graph_rag.egg-info/requires.txt +2 -2
- code_graph_rag-0.7.129/codebase_rag/canonical_graph.py +274 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/cli.py +54 -9
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/cli_help.py +3 -3
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/config.py +71 -6
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/__init__.py +3 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_cpp.py +20 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_js.py +48 -1
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_nodes.py +33 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_php.py +37 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_python.py +71 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/cli.py +22 -1
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/core.py +12 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/duplicates.py +18 -2
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/embedded_graph.py +95 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/graph.py +8 -2
- code_graph_rag-0.7.129/codebase_rag/constants/handoff.py +46 -0
- code_graph_rag-0.7.129/codebase_rag/constants/index_engine.py +63 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/mcp.py +5 -0
- code_graph_rag-0.7.129/codebase_rag/constants/reference_answers.py +94 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/reference_graphs.py +14 -5
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/stdlib_types.py +28 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/trace.py +12 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/cypher_queries.py +67 -9
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/rename.py +4 -1
- code_graph_rag-0.7.129/codebase_rag/engine_frame.py +1386 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/exceptions.py +25 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/function_registry.py +55 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/graph_updater.py +665 -129
- code_graph_rag-0.7.129/codebase_rag/handoff.py +136 -0
- code_graph_rag-0.7.129/codebase_rag/index_engine.py +172 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/language_spec.py +6 -3
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/logs.py +63 -11
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/main.py +7 -3
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/mcp/tools.py +66 -11
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parser_fingerprint.py +49 -5
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parser_loader.py +63 -2
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/call_processor.py +695 -32
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/call_resolver.py +1022 -81
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/class_ingest/mixin.py +24 -5
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/class_ingest/parent_extraction.py +12 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/contracts.py +20 -4
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp/type_inference.py +109 -6
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp_frontend/frontend.py +5 -2
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/csharp_frontend/frontend.py +10 -2
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/dart/package_paths.py +24 -10
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/flow_access/processor.py +224 -7
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/function_ingest.py +3 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go/module_paths.py +21 -3
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go_frontend/frontend.py +89 -24
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go_frontend/gotypes/main.go +9 -1
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/import_processor.py +334 -99
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/processor.py +3 -31
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/py_handles.py +169 -12
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java/method_resolver.py +5 -1
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java/type_inference.py +194 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java/variable_analyzer.py +80 -15
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java_generated.py +32 -12
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java_lombok.py +9 -3
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/js_ts/ingest.py +13 -4
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/js_ts/module_paths.py +22 -8
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/js_ts/module_system.py +18 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/js_ts/type_inference.py +178 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/js_ts/utils.py +383 -2
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/lua/utils.py +1 -1
- code_graph_rag-0.7.129/codebase_rag/parsers/php/callables.py +486 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/php/class_names.py +29 -2
- code_graph_rag-0.7.129/codebase_rag/parsers/php/references.py +412 -0
- code_graph_rag-0.7.129/codebase_rag/parsers/php/utils.py +240 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/__init__.py +10 -1
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/ast_analyzer.py +196 -17
- code_graph_rag-0.7.129/codebase_rag/parsers/py/receiver_rebinding.py +350 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/utils.py +259 -22
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/variable_analyzer.py +158 -13
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/with_analyzer.py +8 -2
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/python_source_roots.py +36 -7
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/stdlib_extractor.py +5 -1
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/structure_processor.py +201 -87
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/type_inference.py +253 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/graph_service.py +84 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/protobuf_service.py +2 -1
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/structural_check.py +27 -4
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/structural_delta.py +1323 -37
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/ast_grep_service.py +14 -8
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/semantic_search.py +14 -2
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/tool_descriptions.py +9 -1
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/ingest.py +9 -6
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/types_defs.py +73 -1
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/path_utils.py +137 -11
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codec/schema.proto +3 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codec/schema_pb2.py +14 -14
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codec/schema_pb2.pyi +4 -2
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/pyproject.toml +8 -5
- code_graph_rag-0.7.79/codebase_rag/parsers/php/utils.py +0 -109
- code_graph_rag-0.7.79/codebase_rag/parsers/py/receiver_rebinding.py +0 -103
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/LICENSE +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/PYPI_README.md +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/cgr/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/code_graph_rag.egg-info/dependency_links.txt +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/code_graph_rag.egg-info/entry_points.txt +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/code_graph_rag.egg-info/top_level.txt +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/_cli_env.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_analyzer.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/c.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/cpp.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/csharp.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/dart.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/go.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/java.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/javascript.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/lua.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/php.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/python.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/ruby.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/rust.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/scala.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/tsx.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/patterns/typescript.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/c.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/cpp.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/csharp.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/dart.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/go.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/java.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/javascript.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/lua.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/php.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/python.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/ruby.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/rust.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/scala.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/tsx.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/security/typescript.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/c.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/cpp.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/csharp.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/dart.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/go.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/java.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/javascript.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/lua.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/php.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/python.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/ruby.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/rust.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/scala.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/tsx.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/ast_grep_rules/smells/typescript.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/analyzers/finding_filters.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/ast_cache.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/capture.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/check_isolation.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/checkout_state.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/cli_runtime.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/console_marks.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_csharp.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_dart.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_go.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_java.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_julia.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_lua.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_rust.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_scala.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/ast_sql.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/build.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/deadcode_roots.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/deps.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/fqn_specs.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/health.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/identifiers.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/interface.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/lang_tooling.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/languages.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/notebook.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/port.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/providers.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/security.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/sqlite_vectors.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/structural.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/constants/surface.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/context_pruning.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/context_slice.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/crash_correlation.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/dead_code.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/decorators.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/dispatch_dependents.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/docker-compose.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/duplicates.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/cli.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/contract.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/import_paths.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/imports.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/move.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/occurrences.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/patcher.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/signature.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/signature_bind.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/signature_contract.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/signature_js.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/signature_js_bind.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/signature_spec.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/sites.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editing/transaction.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/editor_links.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/compiler.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/connection.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/cypher_ast.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/executor.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/expressions.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/extension.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/functions.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/lexer.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/limits.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/native.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/parser.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/procedures.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/sql.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/store.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedded_graph/types.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/embedder.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/flow_verdict.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/gloss.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/gloss_anchor.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/gloss_repair.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/graph_audit.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/graph_cli.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/graph_dialects.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/graph_loader.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/graph_query.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/instructions_trust.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/interface_skip.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/mcp/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/mcp/client.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/mcp/server.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/mgclient_compat.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/mgclient_probe.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/models.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/anchor_hash.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_fingerprint.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_grep_patterns/bash.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_grep_patterns/elixir.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_grep_patterns/haskell.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_grep_patterns/kotlin.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_grep_patterns/nix.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_grep_patterns/ruby.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_grep_patterns/solidity.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_grep_patterns/swift.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_grep_scope.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/ast_grep_tier.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/build_lock.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/callable_flow_scope.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/class_ingest/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/class_ingest/base_targets.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/class_ingest/cpp_modules.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/class_ingest/identity.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/class_ingest/method_override.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/class_ingest/node_type.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/class_ingest/relationships.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/class_ingest/utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/constant_nodes.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/contract_linking.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp/class_macro.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp/function_values.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp/local_types.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp/out_of_line.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp/overloads.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp/preproc_recovery.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp/trailing_annotation.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp/utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp_frontend/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp_frontend/constants.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/cpp_frontend/qn.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/csharp/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/csharp/arity.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/csharp/type_inference.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/csharp/utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/csharp_frontend/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/csharp_frontend/roslyn/Frontend.cs +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/csharp_frontend/roslyn/Frontend.csproj +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/csharp_frontend/roslyn/Program.cs +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/dart/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/dart/type_inference.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/dart/utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/definition_docstring.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/definition_processor.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/dependency_parser.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/dispatch_registry.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/document_tier.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/endpoint_prefixes.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/endpoint_routes.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/endpoints.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/enum_variants.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/export_detection.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/factory.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/field_nodes.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/flat_module.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/flow_access/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/flow_access/constants.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/frontend_mode.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/frontends/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/frontends/cpp.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/frontends/csharp.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/frontends/go.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/frontends/java.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/frontends/protocol.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/frontends/python.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/frontends/registry.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go/builds.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go/interface_ingest.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go/interfaces.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go/link_state.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go/type_inference.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go/utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go_frontend/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go_frontend/gotypes/go.mod +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/go_frontend/gotypes/go.sum +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/base.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/cpp.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/java.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/js_ts.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/julia.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/lua.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/php.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/protocol.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/python.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/registry.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/handlers/rust.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/interface_fingerprint.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/constants.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/descriptor.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/env_bindings.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/extract.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/models.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/registry.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/resource_names.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/io_access/url_folding.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java/type_resolver.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java/utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java_frontend/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java_frontend/frontend.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/java_frontend/javac/cgr/Frontend.java +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/js_ts/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/js_ts/commonjs_exports.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/js_ts/overloads.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/js_ts/reexports.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/julia/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/julia/utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/lua/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/lua/type_inference.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/module_docstring.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/native_trees.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/notebook.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/parameter_nodes.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/php/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/php/namespaces.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/positional_params.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/class_aliases.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/definition_index.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/expression_analyzer.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/flow_bindings.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/forward_refs.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/overloads.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/patterns.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py/type_inference.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py_frontend/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/py_frontend/frontend.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/rpc_exposure.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/rs/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/rs/cargo_semver.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/rs/type_inference.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/rs/utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/scala/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/scala/utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/semantic_call_join.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/sql_ddl.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/sql_recovery.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/string_call.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/type_facts.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/parsers/utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/path_filters.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/port_cli.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/port_parity.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/project_selection.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/prompts.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/providers/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/providers/base.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/providers/litellm.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/queries/highlights/c_sharp.scm +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/queries/highlights/dart.scm +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/queries/highlights/java.scm +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/queries/highlights/javascript.scm +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/queries/highlights/julia.scm +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/queries/highlights/php.scm +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/queries/highlights/python.scm +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/queries/highlights/rust.scm +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/queries/highlights/typescript.scm +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/query_predicates.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/readme_sections.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/schema_builder.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/schema_parse.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/schemas.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/sensitive_paths.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/anthropic_token_counter.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/cypher_guard.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/filtering.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/gloss_cleanup.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/graph_diff.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/llm.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/neo4j_driver.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/provenance.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/resource_cleanup.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/services/usage_cost.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/source_checkout.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/sql_names.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/sqlite_vectors.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/stack/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/stack/cli.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/stack/constants.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/stack/health.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/stack/manager.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/sync_guard.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/sync_lock.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/taint.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tool_errors.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/code_retrieval.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/codebase_query.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/directory_lister.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/duplicate_detection.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/file_editor.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/file_reader.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/file_writer.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/graph_refresh.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/graph_rerank.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/health_checker.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/language.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/language_catalog.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/research.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/shell_command.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/structural_editor.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/structural_search.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tools/web_search.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/agents.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/c_agent/cgr_trace_shim.c +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/carry.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/cli.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/cpuprofile.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/dart_collector/bin/cgr_trace_collect.dart +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/dart_collector/pubspec.lock +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/dart_collector/pubspec.yaml +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/dispatch_site.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/ebpf_pprof.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/instrumented.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/jvm_agent/MANIFEST.MF +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/jvm_agent/src/cgr/trace/CgrTraceAgent.java +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/jvm_agent/src/cgr/trace/Json.java +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/jvm_agent/src/cgr/trace/MethodEntryTransformer.java +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/jvm_agent/src/cgr/trace/TraceRecorder.java +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/lua_agent/cgr_trace.lua +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/pprof.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/pytest_plugin.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/records.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/resolution.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/rust_pprof.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/sourcemap.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/speedscope.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/tracer.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/trace/xdebug.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/tree_sitter_point.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/unixcoder.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/char_columns.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/cpp_signatures.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/dependencies.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/endpoints.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/fqn_resolver.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/interruptible_thread.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/json_io.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/process_owner.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/qn_markers.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/rich_markdown.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/safe_xml.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/source_encoding.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/source_extraction.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/terminal_console.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/token_utils.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/utils/toml_writer.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/vector_store.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/watch.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/workspaces/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/workspaces/cli.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/workspaces/constants.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/workspaces/models.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codebase_rag/workspaces/storage.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/codec/__init__.py +0 -0
- {code_graph_rag-0.7.79 → code_graph_rag-0.7.129}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-graph-rag
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.129
|
|
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
|
|
@@ -30,7 +30,7 @@ Requires-Dist: pydantic-settings>=2.12.0
|
|
|
30
30
|
Requires-Dist: python-dotenv>=1.2.1
|
|
31
31
|
Requires-Dist: tiktoken>=0.12.0
|
|
32
32
|
Requires-Dist: tree-sitter-python>=0.25.0
|
|
33
|
-
Requires-Dist: tree-sitter==0.
|
|
33
|
+
Requires-Dist: tree-sitter==0.27.0
|
|
34
34
|
Requires-Dist: watchdog>=6.0.0
|
|
35
35
|
Requires-Dist: typer>=0.21.1
|
|
36
36
|
Requires-Dist: rich>=14.2.0
|
|
@@ -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.
|
|
47
|
+
Requires-Dist: cgr-graph-rs<0.2,>=0.1.15
|
|
48
48
|
Provides-Extra: test
|
|
49
49
|
Requires-Dist: jedi>=0.19; extra == "test"
|
|
50
50
|
Requires-Dist: pytest>=8.4.1; extra == "test"
|
|
@@ -61,8 +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
|
-
- **
|
|
65
|
-
- **
|
|
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.
|
|
66
69
|
<!-- /SECTION:latest_news -->
|
|
67
70
|
|
|
68
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.7.
|
|
3
|
+
Version: 0.7.129
|
|
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
|
|
@@ -30,7 +30,7 @@ Requires-Dist: pydantic-settings>=2.12.0
|
|
|
30
30
|
Requires-Dist: python-dotenv>=1.2.1
|
|
31
31
|
Requires-Dist: tiktoken>=0.12.0
|
|
32
32
|
Requires-Dist: tree-sitter-python>=0.25.0
|
|
33
|
-
Requires-Dist: tree-sitter==0.
|
|
33
|
+
Requires-Dist: tree-sitter==0.27.0
|
|
34
34
|
Requires-Dist: watchdog>=6.0.0
|
|
35
35
|
Requires-Dist: typer>=0.21.1
|
|
36
36
|
Requires-Dist: rich>=14.2.0
|
|
@@ -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.
|
|
47
|
+
Requires-Dist: cgr-graph-rs<0.2,>=0.1.15
|
|
48
48
|
Provides-Extra: test
|
|
49
49
|
Requires-Dist: jedi>=0.19; extra == "test"
|
|
50
50
|
Requires-Dist: pytest>=8.4.1; extra == "test"
|
|
@@ -12,6 +12,7 @@ code_graph_rag.egg-info/top_level.txt
|
|
|
12
12
|
codebase_rag/__init__.py
|
|
13
13
|
codebase_rag/_cli_env.py
|
|
14
14
|
codebase_rag/ast_cache.py
|
|
15
|
+
codebase_rag/canonical_graph.py
|
|
15
16
|
codebase_rag/capture.py
|
|
16
17
|
codebase_rag/check_isolation.py
|
|
17
18
|
codebase_rag/checkout_state.py
|
|
@@ -31,6 +32,7 @@ codebase_rag/docker-compose.yaml
|
|
|
31
32
|
codebase_rag/duplicates.py
|
|
32
33
|
codebase_rag/editor_links.py
|
|
33
34
|
codebase_rag/embedder.py
|
|
35
|
+
codebase_rag/engine_frame.py
|
|
34
36
|
codebase_rag/exceptions.py
|
|
35
37
|
codebase_rag/flow_verdict.py
|
|
36
38
|
codebase_rag/function_registry.py
|
|
@@ -43,6 +45,8 @@ codebase_rag/graph_dialects.py
|
|
|
43
45
|
codebase_rag/graph_loader.py
|
|
44
46
|
codebase_rag/graph_query.py
|
|
45
47
|
codebase_rag/graph_updater.py
|
|
48
|
+
codebase_rag/handoff.py
|
|
49
|
+
codebase_rag/index_engine.py
|
|
46
50
|
codebase_rag/instructions_trust.py
|
|
47
51
|
codebase_rag/interface_skip.py
|
|
48
52
|
codebase_rag/language_spec.py
|
|
@@ -150,8 +154,10 @@ codebase_rag/constants/duplicates.py
|
|
|
150
154
|
codebase_rag/constants/embedded_graph.py
|
|
151
155
|
codebase_rag/constants/fqn_specs.py
|
|
152
156
|
codebase_rag/constants/graph.py
|
|
157
|
+
codebase_rag/constants/handoff.py
|
|
153
158
|
codebase_rag/constants/health.py
|
|
154
159
|
codebase_rag/constants/identifiers.py
|
|
160
|
+
codebase_rag/constants/index_engine.py
|
|
155
161
|
codebase_rag/constants/interface.py
|
|
156
162
|
codebase_rag/constants/lang_tooling.py
|
|
157
163
|
codebase_rag/constants/languages.py
|
|
@@ -159,6 +165,7 @@ codebase_rag/constants/mcp.py
|
|
|
159
165
|
codebase_rag/constants/notebook.py
|
|
160
166
|
codebase_rag/constants/port.py
|
|
161
167
|
codebase_rag/constants/providers.py
|
|
168
|
+
codebase_rag/constants/reference_answers.py
|
|
162
169
|
codebase_rag/constants/reference_graphs.py
|
|
163
170
|
codebase_rag/constants/security.py
|
|
164
171
|
codebase_rag/constants/sqlite_vectors.py
|
|
@@ -366,8 +373,10 @@ codebase_rag/parsers/lua/__init__.py
|
|
|
366
373
|
codebase_rag/parsers/lua/type_inference.py
|
|
367
374
|
codebase_rag/parsers/lua/utils.py
|
|
368
375
|
codebase_rag/parsers/php/__init__.py
|
|
376
|
+
codebase_rag/parsers/php/callables.py
|
|
369
377
|
codebase_rag/parsers/php/class_names.py
|
|
370
378
|
codebase_rag/parsers/php/namespaces.py
|
|
379
|
+
codebase_rag/parsers/php/references.py
|
|
371
380
|
codebase_rag/parsers/php/utils.py
|
|
372
381
|
codebase_rag/parsers/py/__init__.py
|
|
373
382
|
codebase_rag/parsers/py/ast_analyzer.py
|
|
@@ -7,7 +7,7 @@ pydantic-settings>=2.12.0
|
|
|
7
7
|
python-dotenv>=1.2.1
|
|
8
8
|
tiktoken>=0.12.0
|
|
9
9
|
tree-sitter-python>=0.25.0
|
|
10
|
-
tree-sitter==0.
|
|
10
|
+
tree-sitter==0.27.0
|
|
11
11
|
watchdog>=6.0.0
|
|
12
12
|
typer>=0.21.1
|
|
13
13
|
rich>=14.2.0
|
|
@@ -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.
|
|
24
|
+
cgr-graph-rs<0.2,>=0.1.15
|
|
25
25
|
|
|
26
26
|
[ast-grep]
|
|
27
27
|
ast-grep-py>=0.51.0
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
"""The reference graphs' line format (issue #3629).
|
|
2
|
+
|
|
3
|
+
A graph export, as `cgr start -o` writes it, becomes sorted text: one node or
|
|
4
|
+
relationship per line, keyed by what the graph keys it on, with the
|
|
5
|
+
checkout's directory written as `<root>` and the time of the run left out.
|
|
6
|
+
Two indexes of the same code give the same lines wherever and whenever they
|
|
7
|
+
ran, so a difference between two sets of lines is a difference in the graph.
|
|
8
|
+
|
|
9
|
+
`scripts/reference_graphs.py` keeps the pinned repositories' graphs in this
|
|
10
|
+
form. The Rust rewrite's parity checks write and compare the two engines'
|
|
11
|
+
graphs and hand-offs in it too (docs/reports/PHASE1_SEAMS.md), and code under
|
|
12
|
+
`codebase_rag` cannot import from `scripts/`, so it lives here, with the rules
|
|
13
|
+
those checks compare the hand-off files by.
|
|
14
|
+
|
|
15
|
+
An export that is not one (no node or relationship list, a node without its
|
|
16
|
+
row number, an edge to a node it lacks) raises `SystemExit` naming what is
|
|
17
|
+
wrong: the scripts that read one cannot go on without it.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from __future__ import annotations
|
|
21
|
+
|
|
22
|
+
import difflib
|
|
23
|
+
import json
|
|
24
|
+
import os
|
|
25
|
+
from collections import Counter
|
|
26
|
+
from collections.abc import Iterable, Sequence
|
|
27
|
+
from pathlib import Path
|
|
28
|
+
|
|
29
|
+
from . import constants as cs
|
|
30
|
+
from . import exceptions as ex
|
|
31
|
+
from .types_defs import ExportRecord, JsonValue
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def root_spellings(source: Path) -> list[str]:
|
|
35
|
+
"""Every way an export may write the directory `source`, longest first,
|
|
36
|
+
so a longer spelling is replaced before a shorter one inside it."""
|
|
37
|
+
# Native and forward-slash spellings of both: on Windows the export
|
|
38
|
+
# writes `C:/cache/x/...` while `str(Path)` gives `C:\cache\x`.
|
|
39
|
+
return sorted(
|
|
40
|
+
{
|
|
41
|
+
spelling
|
|
42
|
+
for path in (source, source.resolve())
|
|
43
|
+
for spelling in (str(path), path.as_posix())
|
|
44
|
+
},
|
|
45
|
+
key=len,
|
|
46
|
+
reverse=True,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def with_root_placeholder(value: JsonValue, roots: Sequence[str]) -> JsonValue:
|
|
51
|
+
"""`value` with every path under one of `roots` written from `<root>`,
|
|
52
|
+
with `/`, inside lists and maps too."""
|
|
53
|
+
if isinstance(value, str):
|
|
54
|
+
for root in roots:
|
|
55
|
+
if value == root or value.startswith(
|
|
56
|
+
(f"{root}{cs.SEPARATOR_SLASH}", f"{root}{os.sep}")
|
|
57
|
+
):
|
|
58
|
+
rest = value[len(root) :].replace(os.sep, cs.SEPARATOR_SLASH)
|
|
59
|
+
return f"{cs.REFERENCE_ROOT_PLACEHOLDER}{rest}"
|
|
60
|
+
return value
|
|
61
|
+
if isinstance(value, list):
|
|
62
|
+
return [with_root_placeholder(item, roots) for item in value]
|
|
63
|
+
if isinstance(value, dict):
|
|
64
|
+
return {key: with_root_placeholder(item, roots) for key, item in value.items()}
|
|
65
|
+
return value
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def canonical_json(value: JsonValue) -> str:
|
|
69
|
+
"""`value` as a line writes JSON: sorted keys, no ASCII escaping, no
|
|
70
|
+
spaces."""
|
|
71
|
+
return json.dumps(
|
|
72
|
+
value,
|
|
73
|
+
sort_keys=True,
|
|
74
|
+
ensure_ascii=False,
|
|
75
|
+
separators=cs.REFERENCE_JSON_SEPARATORS,
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def _properties(record: ExportRecord, roots: Sequence[str]) -> dict[str, JsonValue]:
|
|
80
|
+
properties = record.get(cs.KEY_PROPERTIES) or {}
|
|
81
|
+
if not isinstance(properties, dict):
|
|
82
|
+
raise SystemExit(ex.CANONICAL_NO_PROPERTIES.format(record=record))
|
|
83
|
+
return {
|
|
84
|
+
name: with_root_placeholder(value, roots)
|
|
85
|
+
for name, value in properties.items()
|
|
86
|
+
if name not in cs.REFERENCE_VOLATILE_PROPERTIES
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def _labels(node: ExportRecord) -> list[str]:
|
|
91
|
+
raw_labels = node.get(cs.KEY_LABELS) or []
|
|
92
|
+
return (
|
|
93
|
+
sorted(str(label) for label in raw_labels)
|
|
94
|
+
if isinstance(raw_labels, list)
|
|
95
|
+
else []
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
def _key_name(labels: Sequence[str]) -> str | None:
|
|
100
|
+
"""The property the graph keys a node on: the key of the first of its
|
|
101
|
+
sorted labels that has one."""
|
|
102
|
+
return next(
|
|
103
|
+
(
|
|
104
|
+
cs.NODE_UNIQUE_CONSTRAINTS[label]
|
|
105
|
+
for label in labels
|
|
106
|
+
if label in cs.NODE_UNIQUE_CONSTRAINTS
|
|
107
|
+
),
|
|
108
|
+
None,
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def _node(node: JsonValue, roots: Sequence[str]) -> tuple[int, str, str]:
|
|
113
|
+
"""A node's row number, the name its edges' lines call it by, and its
|
|
114
|
+
own line."""
|
|
115
|
+
node_id = node.get(cs.KEY_NODE_ID) if isinstance(node, dict) else None
|
|
116
|
+
if not isinstance(node, dict) or not isinstance(node_id, int):
|
|
117
|
+
raise SystemExit(ex.CANONICAL_NO_NODE_ID.format(node=node))
|
|
118
|
+
labels = _labels(node)
|
|
119
|
+
properties = _properties(node, roots)
|
|
120
|
+
key_name = _key_name(labels)
|
|
121
|
+
key = properties.pop(key_name, None) if key_name else None
|
|
122
|
+
label_text = cs.REFERENCE_LABEL_SEPARATOR.join(labels)
|
|
123
|
+
sep = cs.REFERENCE_FIELD_SEPARATOR
|
|
124
|
+
name = sep.join((label_text, canonical_json(key)))
|
|
125
|
+
line = sep.join(
|
|
126
|
+
(
|
|
127
|
+
cs.REFERENCE_NODE_TAG,
|
|
128
|
+
label_text,
|
|
129
|
+
canonical_json(key),
|
|
130
|
+
canonical_json(properties),
|
|
131
|
+
)
|
|
132
|
+
)
|
|
133
|
+
return node_id, name, line
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def _edge(relationship: JsonValue, names: dict[int, str], roots: Sequence[str]) -> str:
|
|
137
|
+
"""A relationship's line, its ends named as `names` has them."""
|
|
138
|
+
if not isinstance(relationship, dict):
|
|
139
|
+
raise SystemExit(
|
|
140
|
+
ex.CANONICAL_RELATIONSHIP_NOT_A_RECORD.format(relationship=relationship)
|
|
141
|
+
)
|
|
142
|
+
from_id = relationship.get(cs.KEY_FROM_ID)
|
|
143
|
+
to_id = relationship.get(cs.KEY_TO_ID)
|
|
144
|
+
source_name = names.get(from_id) if isinstance(from_id, int) else None
|
|
145
|
+
target_name = names.get(to_id) if isinstance(to_id, int) else None
|
|
146
|
+
if source_name is None or target_name is None:
|
|
147
|
+
raise SystemExit(
|
|
148
|
+
ex.CANONICAL_UNKNOWN_ENDPOINT.format(relationship=relationship)
|
|
149
|
+
)
|
|
150
|
+
return cs.REFERENCE_FIELD_SEPARATOR.join(
|
|
151
|
+
(
|
|
152
|
+
cs.REFERENCE_EDGE_TAG,
|
|
153
|
+
str(relationship.get(cs.KEY_TYPE)),
|
|
154
|
+
source_name,
|
|
155
|
+
target_name,
|
|
156
|
+
canonical_json(_properties(relationship, roots)),
|
|
157
|
+
)
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
def canonical(export: ExportRecord, source: Path) -> list[str]:
|
|
162
|
+
"""The export as sorted lines, the same wherever and whenever it ran.
|
|
163
|
+
|
|
164
|
+
A node is named by its labels and the property the graph keys that label
|
|
165
|
+
on (`qualified_name`, `absolute_path`, `name`), not by the export's
|
|
166
|
+
`node_id`, which is only a row number of this run's database. Duplicate
|
|
167
|
+
lines are kept: an edge recorded twice is a difference.
|
|
168
|
+
"""
|
|
169
|
+
roots = root_spellings(source)
|
|
170
|
+
# Both lists must be there, even empty: an export missing one would read
|
|
171
|
+
# as an empty graph and `record` would write it over a full one.
|
|
172
|
+
nodes = export.get(cs.KEY_NODES)
|
|
173
|
+
relationships = export.get(cs.KEY_RELATIONSHIPS)
|
|
174
|
+
if not isinstance(nodes, list) or not isinstance(relationships, list):
|
|
175
|
+
raise SystemExit(ex.CANONICAL_NO_LISTS)
|
|
176
|
+
names: dict[int, str] = {}
|
|
177
|
+
lines: list[str] = []
|
|
178
|
+
# Every node first: an edge's line names its ends as their nodes' lines do.
|
|
179
|
+
for node in nodes:
|
|
180
|
+
node_id, name, line = _node(node, roots)
|
|
181
|
+
names[node_id] = name
|
|
182
|
+
lines.append(line)
|
|
183
|
+
lines.extend(_edge(relationship, names, roots) for relationship in relationships)
|
|
184
|
+
return sorted(lines)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
def read_graph(path: Path) -> list[str]:
|
|
188
|
+
"""The lines of a file `write_graph` wrote."""
|
|
189
|
+
# Split on the newlines `write_graph` writes, not `splitlines()`'s wider
|
|
190
|
+
# set: a docstring may hold U+2028, which JSON leaves unescaped.
|
|
191
|
+
text = path.read_text(encoding=cs.ENCODING_UTF8)
|
|
192
|
+
return [
|
|
193
|
+
line.removesuffix(cs.CARRIAGE_RETURN)
|
|
194
|
+
for line in text.split(cs.LINE_FEED)
|
|
195
|
+
if line
|
|
196
|
+
]
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
def write_graph(path: Path, lines: Iterable[str]) -> None:
|
|
200
|
+
"""`lines` as UTF-8 text, one per line, for `read_graph` to read back."""
|
|
201
|
+
path.write_text(
|
|
202
|
+
"".join(f"{line}{cs.LINE_FEED}" for line in lines),
|
|
203
|
+
encoding=cs.ENCODING_UTF8,
|
|
204
|
+
)
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
def difference(expected: Sequence[str], actual: Sequence[str]) -> list[str]:
|
|
208
|
+
"""The lines only one side has, `-` for `expected`'s and `+` for `actual`'s.
|
|
209
|
+
|
|
210
|
+
Compared as multisets: order does not count, repetition does.
|
|
211
|
+
"""
|
|
212
|
+
missing = Counter(expected) - Counter(actual)
|
|
213
|
+
extra = Counter(actual) - Counter(expected)
|
|
214
|
+
removed = [
|
|
215
|
+
cs.REFERENCE_ONLY_EXPECTED.format(line=line)
|
|
216
|
+
for line in sorted(missing.elements())
|
|
217
|
+
]
|
|
218
|
+
added = [
|
|
219
|
+
cs.REFERENCE_ONLY_ACTUAL.format(line=line) for line in sorted(extra.elements())
|
|
220
|
+
]
|
|
221
|
+
return removed + added
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
def difference_in_order(expected: Sequence[str], actual: Sequence[str]) -> list[str]:
|
|
225
|
+
"""The lines only one side has where it has them, `-` for `expected`'s
|
|
226
|
+
and `+` for `actual`'s, in the order the two sides run.
|
|
227
|
+
|
|
228
|
+
Compared as sequences: a line in another place is a difference.
|
|
229
|
+
"""
|
|
230
|
+
matcher = difflib.SequenceMatcher(a=expected, b=actual, autojunk=False)
|
|
231
|
+
diff: list[str] = []
|
|
232
|
+
for tag, start, end, actual_start, actual_end in matcher.get_opcodes():
|
|
233
|
+
if tag == cs.DIFF_OPCODE_EQUAL:
|
|
234
|
+
continue
|
|
235
|
+
diff.extend(
|
|
236
|
+
cs.REFERENCE_ONLY_EXPECTED.format(line=line) for line in expected[start:end]
|
|
237
|
+
)
|
|
238
|
+
diff.extend(
|
|
239
|
+
cs.REFERENCE_ONLY_ACTUAL.format(line=line)
|
|
240
|
+
for line in actual[actual_start:actual_end]
|
|
241
|
+
)
|
|
242
|
+
return diff
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
def read_handoff(path: Path) -> list[str]:
|
|
246
|
+
"""The lines of a hand-off file, its header first, split on `\\n` alone.
|
|
247
|
+
|
|
248
|
+
Joined with `\\n` they are the file's bytes again, so two files that
|
|
249
|
+
differ in any byte (a `\\r` before a line end, a missing last one) read
|
|
250
|
+
as different lines.
|
|
251
|
+
"""
|
|
252
|
+
return path.read_bytes().decode(cs.ENCODING_UTF8).split(cs.LINE_FEED)
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
def handoff_difference(
|
|
256
|
+
file: cs.HandoffFile, expected: Sequence[str], actual: Sequence[str]
|
|
257
|
+
) -> list[str]:
|
|
258
|
+
"""How `actual`'s lines of the hand-off `file` differ from `expected`'s,
|
|
259
|
+
`-` for `expected`'s and `+` for `actual`'s; a file not written has none.
|
|
260
|
+
|
|
261
|
+
The file plan is compared in order, because its order is data: pass 2
|
|
262
|
+
registers files in walk order, which decides which of two same-stem files
|
|
263
|
+
claims a module's name. The project index is compared as a multiset.
|
|
264
|
+
Files of two format versions are not compared line by line: the
|
|
265
|
+
difference is their headers, which name both versions.
|
|
266
|
+
"""
|
|
267
|
+
if expected[:1] != actual[:1]:
|
|
268
|
+
return [
|
|
269
|
+
*(cs.REFERENCE_ONLY_EXPECTED.format(line=line) for line in expected[:1]),
|
|
270
|
+
*(cs.REFERENCE_ONLY_ACTUAL.format(line=line) for line in actual[:1]),
|
|
271
|
+
]
|
|
272
|
+
if file == cs.HandoffFile.FILES:
|
|
273
|
+
return difference_in_order(expected, actual)
|
|
274
|
+
return difference(expected, actual)
|
|
@@ -58,8 +58,10 @@ from .editor_links import (
|
|
|
58
58
|
resolve_editor,
|
|
59
59
|
url_template_problem,
|
|
60
60
|
)
|
|
61
|
+
from .embedded_graph.connection import EmbeddedConnection
|
|
62
|
+
from .embedded_graph.executor import Result as EmbeddedResult
|
|
61
63
|
from .graph_cli import cli as graph_cli
|
|
62
|
-
from .graph_dialects import DIALECT_MEMGRAPH
|
|
64
|
+
from .graph_dialects import DIALECT_MEMGRAPH, DIALECT_NEO4J, DIALECT_SQLITE
|
|
63
65
|
from .parser_loader import load_parsers
|
|
64
66
|
from .port_cli import cli as port_cli
|
|
65
67
|
from .project_selection import ProjectChoice, choose_project, scope_refusal
|
|
@@ -2704,16 +2706,21 @@ def status_command() -> None:
|
|
|
2704
2706
|
f"qdrant={status.qdrant_endpoint} reachable={status.qdrant_reachable})"
|
|
2705
2707
|
)
|
|
2706
2708
|
app_context.console.print(f"compose: {status.compose_file}")
|
|
2707
|
-
syncs
|
|
2709
|
+
# The syncs are read from the graph the backend selects, as every command
|
|
2710
|
+
# reads it. The stack's Memgraph answering decides them only when that
|
|
2711
|
+
# Memgraph is the graph: the embedded graph is a file and Neo4j the user's
|
|
2712
|
+
# own server, and `_project_syncs` returns None for a graph it cannot
|
|
2713
|
+
# read (issue #3676).
|
|
2714
|
+
on_memgraph = settings.GRAPH_BACKEND == DIALECT_MEMGRAPH
|
|
2715
|
+
syncs = _project_syncs() if status.memgraph_reachable or not on_memgraph else None
|
|
2716
|
+
engine, endpoint = _syncs_graph(status.memgraph_endpoint)
|
|
2708
2717
|
if syncs is None:
|
|
2709
2718
|
app_context.console.print(
|
|
2710
|
-
cs.CLI_STATUS_SYNCS_NEED_GRAPH.format(endpoint=
|
|
2719
|
+
cs.CLI_STATUS_SYNCS_NEED_GRAPH.format(engine=engine, endpoint=endpoint)
|
|
2711
2720
|
)
|
|
2712
2721
|
return
|
|
2713
2722
|
if not syncs:
|
|
2714
|
-
app_context.console.print(
|
|
2715
|
-
cs.CLI_STATUS_SYNCS_NONE.format(endpoint=status.memgraph_endpoint)
|
|
2716
|
-
)
|
|
2723
|
+
app_context.console.print(cs.CLI_STATUS_SYNCS_NONE.format(endpoint=endpoint))
|
|
2717
2724
|
return
|
|
2718
2725
|
missing = _missing_root_candidates({sync.name: sync.root_path for sync in syncs})
|
|
2719
2726
|
app_context.console.print(cs.CLI_STATUS_SYNCS_HEADER)
|
|
@@ -2721,6 +2728,18 @@ def status_command() -> None:
|
|
|
2721
2728
|
app_context.console.print(_sync_row(sync, sync.name in missing))
|
|
2722
2729
|
|
|
2723
2730
|
|
|
2731
|
+
def _syncs_graph(memgraph_endpoint: str) -> tuple[str, str]:
|
|
2732
|
+
"""The graph `cgr status` reads the syncs from: its engine's name and
|
|
2733
|
+
where it is, escaped for the console (issue #3676)."""
|
|
2734
|
+
backend = settings.GRAPH_BACKEND
|
|
2735
|
+
engine = cs.CLI_STATUS_GRAPH_ENGINES.get(backend, backend)
|
|
2736
|
+
if backend == DIALECT_SQLITE:
|
|
2737
|
+
return engine, escape(str(settings.graph_db_file))
|
|
2738
|
+
if backend == DIALECT_NEO4J:
|
|
2739
|
+
return engine, escape(settings.NEO4J_URI)
|
|
2740
|
+
return engine, memgraph_endpoint
|
|
2741
|
+
|
|
2742
|
+
|
|
2724
2743
|
def _stamp_text(stamp: ResultValue | None) -> str | None:
|
|
2725
2744
|
"""A recorded sync time as `cgr status` prints it; None when never stamped."""
|
|
2726
2745
|
return str(stamp) if stamp else None
|
|
@@ -2736,9 +2755,7 @@ def _project_syncs() -> list[ProjectSync] | None:
|
|
|
2736
2755
|
status must still print without it.
|
|
2737
2756
|
"""
|
|
2738
2757
|
try:
|
|
2739
|
-
|
|
2740
|
-
projects = ingestor.fetch_all(cq.CYPHER_PROJECT_SYNC_TIMES)
|
|
2741
|
-
markers = ingestor.fetch_all(cq.CYPHER_PROJECTS_WITH_INCOMPLETE_RUNS)
|
|
2758
|
+
projects, markers = _sync_rows()
|
|
2742
2759
|
except Exception as exc:
|
|
2743
2760
|
logger.warning(ls.CLI_SYNC_STATE_UNREADABLE.format(error=exc))
|
|
2744
2761
|
return None
|
|
@@ -2760,6 +2777,34 @@ def _project_syncs() -> list[ProjectSync] | None:
|
|
|
2760
2777
|
]
|
|
2761
2778
|
|
|
2762
2779
|
|
|
2780
|
+
def _sync_rows() -> tuple[list[ResultRow], list[ResultRow]]:
|
|
2781
|
+
"""The project rows and interrupted-run markers `cgr status` lists.
|
|
2782
|
+
|
|
2783
|
+
The embedded graph is opened read-only, as a reader should: the engine's
|
|
2784
|
+
usual open creates the file and migrates its schema, which a status
|
|
2785
|
+
check must not do. A file that does not exist yet holds no project
|
|
2786
|
+
(Codex on PR #3681).
|
|
2787
|
+
"""
|
|
2788
|
+
if settings.GRAPH_BACKEND != DIALECT_SQLITE:
|
|
2789
|
+
with connect_memgraph(1) as ingestor:
|
|
2790
|
+
return (
|
|
2791
|
+
ingestor.fetch_all(cq.CYPHER_PROJECT_SYNC_TIMES),
|
|
2792
|
+
ingestor.fetch_all(cq.CYPHER_PROJECTS_WITH_INCOMPLETE_RUNS),
|
|
2793
|
+
)
|
|
2794
|
+
path = settings.graph_db_file
|
|
2795
|
+
if not path.exists():
|
|
2796
|
+
return [], []
|
|
2797
|
+
with EmbeddedConnection(str(path), read_only=True) as graph:
|
|
2798
|
+
return (
|
|
2799
|
+
_result_rows(graph.run(cq.CYPHER_PROJECT_SYNC_TIMES)),
|
|
2800
|
+
_result_rows(graph.run(cq.CYPHER_PROJECTS_WITH_INCOMPLETE_RUNS)),
|
|
2801
|
+
)
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
def _result_rows(result: EmbeddedResult) -> list[ResultRow]:
|
|
2805
|
+
return [dict(zip(result.columns, row)) for row in result.rows]
|
|
2806
|
+
|
|
2807
|
+
|
|
2763
2808
|
def _sync_row(sync: ProjectSync, root_missing: bool = False) -> str:
|
|
2764
2809
|
details: list[str] = []
|
|
2765
2810
|
if sync.last_synced_at:
|
|
@@ -186,9 +186,9 @@ HELP_CHECK_BASE = (
|
|
|
186
186
|
HELP_CHECK_FAIL_ON_FOUND = (
|
|
187
187
|
"Exit with status 1 when the delta reports dangling callers, dangling "
|
|
188
188
|
"importers, calls with too many arguments, too few for a required "
|
|
189
|
-
"parameter or a keyword the callee does not accept,
|
|
190
|
-
"
|
|
191
|
-
"check."
|
|
189
|
+
"parameter or a keyword the callee does not accept, calls to a Python def "
|
|
190
|
+
"that turned async or back, new duplicates or new import cycles. A "
|
|
191
|
+
"possibly_missing site is reported but does not fail the check."
|
|
192
192
|
)
|
|
193
193
|
HELP_CHECK_ISOLATED = (
|
|
194
194
|
"Measure the edit, then put the graph and the hash cache back so the "
|
|
@@ -22,8 +22,9 @@ from . import constants as cs
|
|
|
22
22
|
from . import exceptions as ex
|
|
23
23
|
from . import instructions_trust, logs
|
|
24
24
|
from .graph_dialects import DIALECT_SQLITE, available_dialects
|
|
25
|
+
from .index_engine import parse_index_engine
|
|
25
26
|
from .types_defs import CgrignorePatterns, ModelConfigKwargs
|
|
26
|
-
from .utils.path_utils import ordered_ignore_block
|
|
27
|
+
from .utils.path_utils import ignore_line_error, ordered_ignore_block
|
|
27
28
|
|
|
28
29
|
# Taken before `.env` is merged into the environment, so a refused value can be
|
|
29
30
|
# traced to the shell that exported it or to the file (#2474).
|
|
@@ -618,6 +619,21 @@ class AppConfig(BaseSettings):
|
|
|
618
619
|
|
|
619
620
|
CGR_CAPTURE: str = Field("", validation_alias="CGR_CAPTURE")
|
|
620
621
|
|
|
622
|
+
# Which engine indexes each language: `auto`, `python` or `rust` for
|
|
623
|
+
# every language, `LANGUAGE=ENGINE` for one (docs/reports/PHASE1_SEAMS.md,
|
|
624
|
+
# section 1). Not CGR_ENGINE: GRAPH_BACKEND is "the graph engine". Only the
|
|
625
|
+
# string is kept here; the parsed selection lives in `index_engine`, where
|
|
626
|
+
# it adds no member to the settings' public surface.
|
|
627
|
+
INDEX_ENGINE: str = Field(
|
|
628
|
+
cs.IndexEngine.AUTO.value, validation_alias=cs.INDEX_ENGINE_ENV
|
|
629
|
+
)
|
|
630
|
+
|
|
631
|
+
@field_validator("INDEX_ENGINE")
|
|
632
|
+
@classmethod
|
|
633
|
+
def _valid_index_engine(cls, value: str) -> str:
|
|
634
|
+
parse_index_engine(value)
|
|
635
|
+
return value.lower()
|
|
636
|
+
|
|
621
637
|
# MCP read_file refuses a likely credential file (.env, keys,
|
|
622
638
|
# .git/config): the client's model would read it (issue #3457). The CLI
|
|
623
639
|
# agent asks instead, so this only matters to the MCP server.
|
|
@@ -825,23 +841,72 @@ GITIGNORE_FILENAME = ".gitignore"
|
|
|
825
841
|
EMPTY_CGRIGNORE = CgrignorePatterns(exclude=frozenset(), unignore=frozenset())
|
|
826
842
|
|
|
827
843
|
|
|
844
|
+
def trim_ignore_line(line: str) -> str:
|
|
845
|
+
"""The pattern on an ignore-file line, the whitespace around it dropped.
|
|
846
|
+
|
|
847
|
+
Trailing whitespace goes unless a backslash escapes it, as git trims
|
|
848
|
+
trailing spaces, so `t.py\\ ` names the file `t.py ` (#3723); `str.strip`
|
|
849
|
+
took the escaped space too and left a dangling backslash, which pathspec
|
|
850
|
+
refuses. Leading whitespace is dropped as before.
|
|
851
|
+
"""
|
|
852
|
+
line = line.removesuffix(cs.LINE_FEED)
|
|
853
|
+
end = 0
|
|
854
|
+
escaped = False
|
|
855
|
+
for index, char in enumerate(line):
|
|
856
|
+
if escaped or not char.isspace():
|
|
857
|
+
end = index + 1
|
|
858
|
+
escaped = not escaped and char == cs.SEPARATOR_BACKSLASH
|
|
859
|
+
return line[:end].lstrip()
|
|
860
|
+
|
|
861
|
+
|
|
828
862
|
def _read_ignore_lines(ignore_file: Path) -> tuple[str, ...]:
|
|
829
|
-
"""The file's pattern lines in order, comments and blank lines dropped.
|
|
863
|
+
"""The file's pattern lines in order, comments and blank lines dropped.
|
|
864
|
+
|
|
865
|
+
A UTF-8 byte-order mark, which some editors save and git skips, is not
|
|
866
|
+
part of the first line (#3724); kept, it made that pattern match nothing.
|
|
867
|
+
A line pathspec refuses is left out with a warning naming it, rather than
|
|
868
|
+
compiled with the rest, where it failed the run (#3723). So is a `!` line
|
|
869
|
+
whose unignore it refuses: `!!` is a valid line, but the bare `!` left
|
|
870
|
+
once its first `!` is dropped negates nothing.
|
|
871
|
+
"""
|
|
830
872
|
if not ignore_file.is_file():
|
|
831
873
|
return ()
|
|
832
874
|
try:
|
|
833
|
-
with ignore_file.open(encoding=
|
|
834
|
-
|
|
835
|
-
return tuple(line for line in stripped if line and not line.startswith("#"))
|
|
875
|
+
with ignore_file.open(encoding=cs.ENCODING_UTF8_SIG) as f:
|
|
876
|
+
trimmed = [trim_ignore_line(line) for line in f]
|
|
836
877
|
except (OSError, ValueError) as e:
|
|
837
878
|
logger.warning(logs.CGRIGNORE_READ_FAILED.format(path=ignore_file, error=e))
|
|
838
879
|
return ()
|
|
880
|
+
lines: list[str] = []
|
|
881
|
+
for line_number, line in enumerate(trimmed, start=1):
|
|
882
|
+
if not line or line.startswith("#"):
|
|
883
|
+
continue
|
|
884
|
+
error = ignore_line_error(line)
|
|
885
|
+
if error is None and line.startswith(cs.GITIGNORE_NEGATION):
|
|
886
|
+
error = ignore_line_error(_unignore_pattern(line))
|
|
887
|
+
if error is not None:
|
|
888
|
+
logger.warning(
|
|
889
|
+
logs.CGRIGNORE_LINE_SKIPPED.format(
|
|
890
|
+
line_number=line_number, path=ignore_file, error=error
|
|
891
|
+
)
|
|
892
|
+
)
|
|
893
|
+
continue
|
|
894
|
+
lines.append(line)
|
|
895
|
+
return tuple(lines)
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
def _unignore_pattern(line: str) -> str:
|
|
899
|
+
# Only the whitespace after `!` is stripped: the line's end is already
|
|
900
|
+
# trimmed, and any whitespace left there is escaped (#3723).
|
|
901
|
+
return line.removeprefix(cs.GITIGNORE_NEGATION).lstrip()
|
|
839
902
|
|
|
840
903
|
|
|
841
904
|
def _ignore_patterns(lines: tuple[str, ...]) -> CgrignorePatterns:
|
|
842
905
|
return CgrignorePatterns(
|
|
843
906
|
exclude=frozenset(line for line in lines if not line.startswith("!")),
|
|
844
|
-
unignore=frozenset(
|
|
907
|
+
unignore=frozenset(
|
|
908
|
+
_unignore_pattern(line) for line in lines if line.startswith("!")
|
|
909
|
+
),
|
|
845
910
|
)
|
|
846
911
|
|
|
847
912
|
|
|
@@ -24,8 +24,10 @@ from .embedded_graph import * # noqa: F403
|
|
|
24
24
|
from .fqn_specs import * # noqa: F403
|
|
25
25
|
from .graph import * # noqa: F403
|
|
26
26
|
from .graph import _NODE_LABEL_UNIQUE_KEYS as _NODE_LABEL_UNIQUE_KEYS
|
|
27
|
+
from .handoff import * # noqa: F403
|
|
27
28
|
from .health import * # noqa: F403
|
|
28
29
|
from .identifiers import * # noqa: F403
|
|
30
|
+
from .index_engine import * # noqa: F403
|
|
29
31
|
from .interface import * # noqa: F403
|
|
30
32
|
from .lang_tooling import * # noqa: F403
|
|
31
33
|
from .languages import * # noqa: F403
|
|
@@ -33,6 +35,7 @@ from .mcp import * # noqa: F403
|
|
|
33
35
|
from .notebook import * # noqa: F403
|
|
34
36
|
from .port import * # noqa: F403
|
|
35
37
|
from .providers import * # noqa: F403
|
|
38
|
+
from .reference_answers import * # noqa: F403
|
|
36
39
|
from .reference_graphs import * # noqa: F403
|
|
37
40
|
from .security import * # noqa: F403
|
|
38
41
|
from .sqlite_vectors import * # noqa: F403
|