code-graph-rag 0.1.38__tar.gz → 0.2.0__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.1.38/code_graph_rag.egg-info → code_graph_rag-0.2.0}/PKG-INFO +23 -8
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/PYPI_README.md +12 -5
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/README.md +15 -10
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0/code_graph_rag.egg-info}/PKG-INFO +23 -8
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/code_graph_rag.egg-info/SOURCES.txt +83 -1
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/code_graph_rag.egg-info/requires.txt +14 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/__init__.py +2 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/_cli_env.py +6 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_analyzer.py +9 -8
- code_graph_rag-0.2.0/codebase_rag/analyzers/ast_grep_rules/security/javascript.yaml +127 -0
- code_graph_rag-0.2.0/codebase_rag/analyzers/ast_grep_rules/security/php.yaml +106 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/python.yaml +39 -3
- code_graph_rag-0.2.0/codebase_rag/analyzers/ast_grep_rules/security/tsx.yaml +127 -0
- code_graph_rag-0.2.0/codebase_rag/analyzers/ast_grep_rules/security/typescript.yaml +127 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/go.yaml +17 -2
- code_graph_rag-0.2.0/codebase_rag/analyzers/ast_grep_rules/smells/python.yaml +73 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/capture.py +95 -2
- code_graph_rag-0.2.0/codebase_rag/check_isolation.py +410 -0
- code_graph_rag-0.2.0/codebase_rag/checkout_state.py +713 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/cli.py +1368 -310
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/cli_help.py +225 -39
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/config.py +289 -13
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/__init__.py +5 -0
- code_graph_rag-0.2.0/codebase_rag/constants/ast_cpp.py +551 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_csharp.py +41 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_dart.py +30 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_go.py +94 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_java.py +71 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_js.py +151 -0
- code_graph_rag-0.2.0/codebase_rag/constants/ast_julia.py +63 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_lua.py +48 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_nodes.py +212 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_php.py +49 -0
- code_graph_rag-0.2.0/codebase_rag/constants/ast_python.py +463 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_rust.py +81 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_scala.py +62 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/build.py +10 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/cli.py +446 -19
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/core.py +162 -8
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/deadcode_roots.py +97 -22
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/duplicates.py +30 -4
- code_graph_rag-0.2.0/codebase_rag/constants/embedded_graph.py +716 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/fqn_specs.py +50 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/graph.py +603 -12
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/health.py +29 -4
- code_graph_rag-0.2.0/codebase_rag/constants/interface.py +180 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/lang_tooling.py +123 -11
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/languages.py +76 -3
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/mcp.py +84 -0
- code_graph_rag-0.2.0/codebase_rag/constants/notebook.py +55 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/providers.py +16 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/security.py +181 -2
- code_graph_rag-0.2.0/codebase_rag/constants/sqlite_vectors.py +93 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/stdlib_types.py +61 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/structural.py +6 -3
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/trace.py +29 -0
- code_graph_rag-0.2.0/codebase_rag/context_slice.py +500 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/crash_correlation.py +139 -19
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/cypher_queries.py +717 -69
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/dead_code.py +447 -59
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/decorators.py +5 -15
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/docker-compose.yaml +18 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/duplicates.py +255 -182
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/editing/__init__.py +3 -1
- code_graph_rag-0.2.0/codebase_rag/editing/cli.py +192 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/editing/contract.py +53 -4
- code_graph_rag-0.2.0/codebase_rag/editing/import_paths.py +616 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/editing/imports.py +69 -17
- code_graph_rag-0.2.0/codebase_rag/editing/occurrences.py +1364 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/editing/patcher.py +32 -3
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/editing/rename.py +1152 -127
- code_graph_rag-0.2.0/codebase_rag/editing/signature_contract.py +117 -0
- code_graph_rag-0.2.0/codebase_rag/editing/signature_spec.py +343 -0
- code_graph_rag-0.2.0/codebase_rag/editing/sites.py +137 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/editing/transaction.py +40 -71
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/compiler.py +804 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/connection.py +147 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/cypher_ast.py +286 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/executor.py +1111 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/expressions.py +833 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/extension.py +22 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/functions.py +329 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/lexer.py +207 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/limits.py +63 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/native.py +459 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/parser.py +830 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/procedures.py +459 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/sql.py +858 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/store.py +178 -0
- code_graph_rag-0.2.0/codebase_rag/embedded_graph/types.py +139 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/embedder.py +3 -1
- code_graph_rag-0.2.0/codebase_rag/exceptions.py +308 -0
- code_graph_rag-0.2.0/codebase_rag/flow_verdict.py +233 -0
- code_graph_rag-0.2.0/codebase_rag/function_registry.py +683 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/gloss.py +144 -21
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/gloss_anchor.py +3 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/gloss_repair.py +1 -1
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/graph_audit.py +6 -1
- code_graph_rag-0.2.0/codebase_rag/graph_cli.py +278 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/graph_dialects.py +18 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/graph_loader.py +107 -5
- code_graph_rag-0.2.0/codebase_rag/graph_query.py +1427 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/graph_updater.py +2813 -404
- code_graph_rag-0.2.0/codebase_rag/interface_skip.py +125 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/language_spec.py +293 -27
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/logs.py +408 -15
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/main.py +63 -14
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/mcp/client.py +23 -17
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/mcp/server.py +57 -19
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/mcp/tools.py +481 -119
- code_graph_rag-0.2.0/codebase_rag/mgclient_compat.py +66 -0
- code_graph_rag-0.2.0/codebase_rag/mgclient_probe.py +75 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/models.py +9 -6
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parser_fingerprint.py +206 -14
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parser_loader.py +103 -36
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/ast_grep_patterns/kotlin.yaml +5 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/ast_grep_patterns/solidity.yaml +10 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/ast_grep_patterns/swift.yaml +11 -1
- code_graph_rag-0.2.0/codebase_rag/parsers/ast_grep_scope.py +244 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/ast_grep_tier.py +262 -80
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/build_lock.py +12 -1
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/call_processor.py +3659 -523
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/call_resolver.py +3297 -162
- code_graph_rag-0.2.0/codebase_rag/parsers/class_ingest/base_targets.py +143 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/class_ingest/cpp_modules.py +2 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/class_ingest/identity.py +9 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/class_ingest/method_override.py +186 -30
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/class_ingest/mixin.py +620 -85
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/class_ingest/node_type.py +18 -14
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/class_ingest/parent_extraction.py +132 -59
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/class_ingest/relationships.py +83 -17
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/contracts.py +3 -2
- code_graph_rag-0.2.0/codebase_rag/parsers/cpp/class_macro.py +60 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/cpp/function_values.py +188 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/cpp/local_types.py +467 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/cpp/overloads.py +255 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/cpp/preproc_recovery.py +217 -6
- code_graph_rag-0.2.0/codebase_rag/parsers/cpp/trailing_annotation.py +301 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/cpp/type_inference.py +187 -24
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/cpp/utils.py +177 -1
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/cpp_frontend/frontend.py +4 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/cpp_frontend/qn.py +85 -1
- code_graph_rag-0.2.0/codebase_rag/parsers/csharp/arity.py +108 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/csharp/type_inference.py +134 -38
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/csharp/utils.py +364 -30
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/csharp_frontend/frontend.py +7 -9
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/csharp_frontend/roslyn/Frontend.csproj +7 -3
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/dart/__init__.py +4 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/dart/utils.py +158 -7
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/definition_docstring.py +83 -39
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/definition_processor.py +259 -33
- code_graph_rag-0.2.0/codebase_rag/parsers/dependency_parser.py +377 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/document_tier.py +1406 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/endpoint_routes.py +58 -29
- code_graph_rag-0.2.0/codebase_rag/parsers/enum_variants.py +425 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/export_detection.py +889 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/factory.py +10 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/field_nodes.py +0 -36
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/flat_module.py +18 -6
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/flow_access/processor.py +511 -160
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/frontends/csharp.py +15 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/frontends/go.py +18 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/frontends/java.py +9 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/frontends/protocol.py +27 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/frontends/python.py +8 -1
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/function_ingest.py +142 -20
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/go/__init__.py +8 -1
- code_graph_rag-0.2.0/codebase_rag/parsers/go/builds.py +618 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/go/interface_ingest.py +1066 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/go/interfaces.py +699 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/go/link_state.py +31 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/go/module_paths.py +16 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/go/type_inference.py +242 -36
- code_graph_rag-0.2.0/codebase_rag/parsers/go/utils.py +579 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/go_frontend/frontend.py +251 -19
- code_graph_rag-0.2.0/codebase_rag/parsers/go_frontend/gotypes/go.mod +10 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/go_frontend/gotypes/go.sum +8 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/go_frontend/gotypes/main.go +222 -28
- code_graph_rag-0.2.0/codebase_rag/parsers/handlers/julia.py +23 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/lua.py +1 -1
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/php.py +1 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/registry.py +2 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/import_processor.py +2305 -155
- code_graph_rag-0.2.0/codebase_rag/parsers/interface_fingerprint.py +547 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/io_access/__init__.py +2 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/io_access/constants.py +12 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/io_access/descriptor.py +5 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/io_access/extract.py +438 -76
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/io_access/models.py +44 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/io_access/processor.py +81 -19
- code_graph_rag-0.2.0/codebase_rag/parsers/io_access/url_folding.py +311 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/java/method_resolver.py +2107 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/java/type_inference.py +26 -21
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/java/type_resolver.py +136 -122
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/java/utils.py +309 -36
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/java/variable_analyzer.py +98 -39
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/java_frontend/frontend.py +34 -14
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/java_frontend/javac/cgr/Frontend.java +24 -1
- code_graph_rag-0.2.0/codebase_rag/parsers/js_ts/commonjs_exports.py +1118 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/js_ts/ingest.py +38 -13
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/js_ts/module_paths.py +4 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/js_ts/module_system.py +3 -8
- code_graph_rag-0.2.0/codebase_rag/parsers/js_ts/overloads.py +180 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/js_ts/reexports.py +177 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/js_ts/type_inference.py +668 -27
- code_graph_rag-0.2.0/codebase_rag/parsers/js_ts/utils.py +656 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/julia/__init__.py +1 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/julia/utils.py +268 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/lua/type_inference.py +237 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/lua/utils.py +480 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/module_docstring.py +25 -1
- code_graph_rag-0.2.0/codebase_rag/parsers/notebook.py +466 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/parameter_nodes.py +4 -55
- code_graph_rag-0.2.0/codebase_rag/parsers/php/__init__.py +11 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/php/class_names.py +321 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/php/namespaces.py +47 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/php/utils.py +109 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/positional_params.py +320 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/py/__init__.py +2 -1
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/py/ast_analyzer.py +320 -10
- code_graph_rag-0.2.0/codebase_rag/parsers/py/class_aliases.py +220 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/py/expression_analyzer.py +250 -20
- code_graph_rag-0.2.0/codebase_rag/parsers/py/forward_refs.py +72 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/py/overloads.py +550 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/py/receiver_rebinding.py +103 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/py/type_inference.py +31 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/py/utils.py +91 -9
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/py/variable_analyzer.py +63 -55
- code_graph_rag-0.2.0/codebase_rag/parsers/py/with_analyzer.py +288 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/python_source_roots.py +3 -1
- code_graph_rag-0.2.0/codebase_rag/parsers/rs/cargo_semver.py +232 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/rs/type_inference.py +39 -10
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/rs/utils.py +116 -1
- code_graph_rag-0.2.0/codebase_rag/parsers/scala/__init__.py +31 -0
- code_graph_rag-0.2.0/codebase_rag/parsers/scala/utils.py +577 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/semantic_call_join.py +40 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/stdlib_extractor.py +6 -5
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/structure_processor.py +28 -8
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/type_facts.py +151 -19
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/type_inference.py +313 -22
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/utils.py +453 -55
- code_graph_rag-0.2.0/codebase_rag/path_filters.py +72 -0
- code_graph_rag-0.2.0/codebase_rag/project_selection.py +125 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/prompts.py +65 -25
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/providers/base.py +33 -23
- code_graph_rag-0.2.0/codebase_rag/queries/highlights/julia.scm +43 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/readme_sections.py +166 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/schemas.py +7 -3
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/__init__.py +11 -3
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/filtering.py +3 -3
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/graph_diff.py +20 -15
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/graph_service.py +388 -55
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/llm.py +84 -6
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/neo4j_driver.py +8 -8
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/protobuf_service.py +30 -7
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/provenance.py +14 -3
- code_graph_rag-0.2.0/codebase_rag/sqlite_vectors.py +186 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/stack/__init__.py +2 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/stack/cli.py +8 -5
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/stack/constants.py +92 -0
- code_graph_rag-0.2.0/codebase_rag/stack/health.py +502 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/stack/manager.py +313 -41
- code_graph_rag-0.2.0/codebase_rag/structural_check.py +457 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/structural_delta.py +917 -44
- code_graph_rag-0.2.0/codebase_rag/sync_guard.py +261 -0
- code_graph_rag-0.2.0/codebase_rag/sync_lock.py +433 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tool_errors.py +26 -4
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/ast_grep_service.py +56 -21
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/code_retrieval.py +8 -4
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/codebase_query.py +92 -35
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/directory_lister.py +6 -4
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/duplicate_detection.py +41 -10
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/file_editor.py +135 -25
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/file_reader.py +5 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/file_writer.py +10 -2
- code_graph_rag-0.2.0/codebase_rag/tools/graph_refresh.py +108 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/health_checker.py +133 -21
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/language.py +269 -156
- code_graph_rag-0.2.0/codebase_rag/tools/language_catalog.py +398 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/semantic_search.py +15 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/shell_command.py +225 -45
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/structural_editor.py +3 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/structural_search.py +5 -2
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/tool_descriptions.py +107 -26
- code_graph_rag-0.2.0/codebase_rag/trace/carry.py +239 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/dispatch_site.py +4 -18
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/ebpf_pprof.py +24 -13
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/ingest.py +78 -46
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/pprof.py +73 -20
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/pytest_plugin.py +27 -5
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/resolution.py +254 -13
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/rust_pprof.py +4 -25
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/speedscope.py +11 -8
- code_graph_rag-0.2.0/codebase_rag/tree_sitter_point.py +38 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/types_defs.py +500 -41
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/unixcoder.py +4 -2
- code_graph_rag-0.2.0/codebase_rag/utils/cpp_signatures.py +385 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/utils/dependencies.py +7 -9
- code_graph_rag-0.2.0/codebase_rag/utils/endpoints.py +36 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/utils/fqn_resolver.py +2 -1
- code_graph_rag-0.2.0/codebase_rag/utils/interruptible_thread.py +85 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/utils/path_utils.py +253 -7
- code_graph_rag-0.2.0/codebase_rag/utils/process_owner.py +129 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/utils/qn_markers.py +41 -1
- code_graph_rag-0.2.0/codebase_rag/utils/source_encoding.py +172 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/utils/source_extraction.py +36 -2
- code_graph_rag-0.2.0/codebase_rag/utils/terminal_console.py +48 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/utils/token_utils.py +17 -3
- code_graph_rag-0.2.0/codebase_rag/vector_store.py +1303 -0
- code_graph_rag-0.2.0/codebase_rag/watch.py +962 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/workspaces/__init__.py +2 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/workspaces/cli.py +5 -5
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/workspaces/constants.py +16 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/workspaces/models.py +5 -1
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/workspaces/storage.py +26 -1
- code_graph_rag-0.2.0/codec/__init__.py +0 -0
- code_graph_rag-0.2.0/codec/schema.proto +584 -0
- code_graph_rag-0.2.0/codec/schema_pb2.py +95 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codec/schema_pb2.pyi +54 -12
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/pyproject.toml +69 -7
- code_graph_rag-0.1.38/codebase_rag/analyzers/ast_grep_rules/security/javascript.yaml +0 -35
- code_graph_rag-0.1.38/codebase_rag/analyzers/ast_grep_rules/security/php.yaml +0 -59
- code_graph_rag-0.1.38/codebase_rag/analyzers/ast_grep_rules/security/tsx.yaml +0 -35
- code_graph_rag-0.1.38/codebase_rag/analyzers/ast_grep_rules/security/typescript.yaml +0 -35
- code_graph_rag-0.1.38/codebase_rag/analyzers/ast_grep_rules/smells/python.yaml +0 -33
- code_graph_rag-0.1.38/codebase_rag/cgr_state.py +0 -57
- code_graph_rag-0.1.38/codebase_rag/constants/ast_cpp.py +0 -277
- code_graph_rag-0.1.38/codebase_rag/constants/ast_python.py +0 -200
- code_graph_rag-0.1.38/codebase_rag/editing/cli.py +0 -118
- code_graph_rag-0.1.38/codebase_rag/exceptions.py +0 -153
- code_graph_rag-0.1.38/codebase_rag/flow_verdict.py +0 -120
- code_graph_rag-0.1.38/codebase_rag/function_registry.py +0 -290
- code_graph_rag-0.1.38/codebase_rag/graph_cli.py +0 -176
- code_graph_rag-0.1.38/codebase_rag/graph_query.py +0 -731
- code_graph_rag-0.1.38/codebase_rag/parsers/dependency_parser.py +0 -358
- code_graph_rag-0.1.38/codebase_rag/parsers/document_tier.py +0 -867
- code_graph_rag-0.1.38/codebase_rag/parsers/enum_variants.py +0 -177
- code_graph_rag-0.1.38/codebase_rag/parsers/export_detection.py +0 -341
- code_graph_rag-0.1.38/codebase_rag/parsers/go/utils.py +0 -105
- code_graph_rag-0.1.38/codebase_rag/parsers/go_frontend/gotypes/go.mod +0 -12
- code_graph_rag-0.1.38/codebase_rag/parsers/go_frontend/gotypes/go.sum +0 -8
- code_graph_rag-0.1.38/codebase_rag/parsers/java/method_resolver.py +0 -940
- code_graph_rag-0.1.38/codebase_rag/parsers/js_ts/utils.py +0 -240
- code_graph_rag-0.1.38/codebase_rag/parsers/lua/type_inference.py +0 -154
- code_graph_rag-0.1.38/codebase_rag/parsers/lua/utils.py +0 -212
- code_graph_rag-0.1.38/codebase_rag/path_filters.py +0 -23
- code_graph_rag-0.1.38/codebase_rag/stack/health.py +0 -203
- code_graph_rag-0.1.38/codebase_rag/structural_check.py +0 -260
- code_graph_rag-0.1.38/codebase_rag/vector_store.py +0 -718
- code_graph_rag-0.1.38/codec/schema_pb2.py +0 -93
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/LICENSE +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/cgr/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/code_graph_rag.egg-info/dependency_links.txt +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/code_graph_rag.egg-info/entry_points.txt +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/code_graph_rag.egg-info/top_level.txt +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/c.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/cpp.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/csharp.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/dart.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/go.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/java.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/javascript.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/lua.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/php.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/python.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/ruby.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/rust.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/scala.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/tsx.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/patterns/typescript.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/c.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/cpp.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/csharp.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/dart.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/go.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/java.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/lua.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/ruby.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/rust.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/security/scala.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/c.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/cpp.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/csharp.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/dart.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/java.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/javascript.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/lua.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/php.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/ruby.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/rust.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/scala.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/tsx.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/analyzers/ast_grep_rules/smells/typescript.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/ast_cache.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/cli_runtime.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/console_marks.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/ast_sql.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/constants/deps.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/context_pruning.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/editor_links.py +0 -0
- {code_graph_rag-0.1.38/codebase_rag/providers → code_graph_rag-0.2.0/codebase_rag/embedded_graph}/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/mcp/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/anchor_hash.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/ast_fingerprint.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/ast_grep_patterns/bash.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/ast_grep_patterns/elixir.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/ast_grep_patterns/haskell.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/ast_grep_patterns/nix.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/ast_grep_patterns/ruby.yaml +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/class_ingest/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/class_ingest/utils.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/contract_linking.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/cpp/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/cpp_frontend/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/cpp_frontend/constants.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/csharp/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/csharp_frontend/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/csharp_frontend/roslyn/Frontend.cs +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/csharp_frontend/roslyn/Program.cs +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/dart/type_inference.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/dispatch_registry.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/endpoint_prefixes.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/endpoints.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/flow_access/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/flow_access/constants.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/frontend_mode.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/frontends/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/frontends/cpp.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/frontends/registry.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/go_frontend/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/base.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/cpp.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/java.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/js_ts.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/protocol.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/python.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/handlers/rust.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/io_access/registry.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/java/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/java_frontend/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/java_generated.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/java_lombok.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/js_ts/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/lua/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/py_frontend/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/py_frontend/frontend.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/rpc_exposure.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/rs/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/parsers/string_call.py +0 -0
- {code_graph_rag-0.1.38/codebase_rag/tools → code_graph_rag-0.2.0/codebase_rag/providers}/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/providers/litellm.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/queries/highlights/c_sharp.scm +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/queries/highlights/dart.scm +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/queries/highlights/java.scm +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/queries/highlights/javascript.scm +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/queries/highlights/php.scm +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/queries/highlights/python.scm +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/queries/highlights/rust.scm +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/queries/highlights/typescript.scm +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/schema_builder.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/schema_parse.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/anthropic_token_counter.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/cypher_guard.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/gloss_cleanup.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/resource_cleanup.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/services/usage_cost.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/sql_names.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/taint.py +0 -0
- {code_graph_rag-0.1.38/codebase_rag/utils → code_graph_rag-0.2.0/codebase_rag/tools}/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/graph_rerank.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/research.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/tools/web_search.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/cli.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/cpuprofile.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/instrumented.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/records.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/sourcemap.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/tracer.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/trace/xdebug.py +0 -0
- {code_graph_rag-0.1.38/codec → code_graph_rag-0.2.0/codebase_rag/utils}/__init__.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/utils/json_io.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/codebase_rag/utils/rich_markdown.py +0 -0
- {code_graph_rag-0.1.38 → code_graph_rag-0.2.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-graph-rag
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Keywords: rag,retrieval-augmented-generation,knowledge-graph,code-analysis,tree-sitter,mcp,mcp-server,llm,graph-database,semantic-search,codebase,memgraph,developer-tools,monorepo
|
|
@@ -19,10 +19,9 @@ Requires-Python: >=3.12
|
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Requires-Dist: loguru>=0.7.3
|
|
22
|
-
Requires-Dist: mcp
|
|
22
|
+
Requires-Dist: mcp<2,>=1.28.1
|
|
23
23
|
Requires-Dist: pydantic-ai-slim[anthropic,google,openai]>=2.0.0
|
|
24
24
|
Requires-Dist: pydantic-settings>=2.12.0
|
|
25
|
-
Requires-Dist: pymgclient>=1.5.1
|
|
26
25
|
Requires-Dist: python-dotenv>=1.2.1
|
|
27
26
|
Requires-Dist: tiktoken>=0.12.0
|
|
28
27
|
Requires-Dist: tomli-w>=1.2.0
|
|
@@ -39,6 +38,8 @@ Requires-Dist: defusedxml>=0.7.1
|
|
|
39
38
|
Requires-Dist: huggingface-hub[hf-xet]>=1.7.2
|
|
40
39
|
Requires-Dist: pathspec>=1.0.4
|
|
41
40
|
Requires-Dist: pygments>=2.20.0
|
|
41
|
+
Requires-Dist: regex>=2024.11.6
|
|
42
|
+
Requires-Dist: cgr-graph-rs<0.2,>=0.1.0; platform_python_implementation == "CPython" and ((sys_platform == "linux" and (platform_machine == "x86_64" or platform_machine == "aarch64")) or sys_platform == "darwin" or (sys_platform == "win32" and platform_machine == "AMD64"))
|
|
42
43
|
Provides-Extra: test
|
|
43
44
|
Requires-Dist: jedi>=0.19; extra == "test"
|
|
44
45
|
Requires-Dist: pytest>=8.4.1; extra == "test"
|
|
@@ -50,8 +51,12 @@ Requires-Dist: libclang>=18.1.1; extra == "test"
|
|
|
50
51
|
Requires-Dist: filelock>=3.12; extra == "test"
|
|
51
52
|
Requires-Dist: ast-grep-py>=0.44.0; extra == "test"
|
|
52
53
|
Requires-Dist: pyyaml>=6.0; extra == "test"
|
|
54
|
+
Requires-Dist: pymgclient>=1.6.0; extra == "test"
|
|
55
|
+
Requires-Dist: sqlite-vec>=0.1.9; extra == "test"
|
|
53
56
|
Provides-Extra: cpp
|
|
54
57
|
Requires-Dist: libclang>=18.1.1; extra == "cpp"
|
|
58
|
+
Provides-Extra: memgraph
|
|
59
|
+
Requires-Dist: pymgclient>=1.6.0; extra == "memgraph"
|
|
55
60
|
Provides-Extra: neo4j
|
|
56
61
|
Requires-Dist: neo4j>=5.28.1; extra == "neo4j"
|
|
57
62
|
Provides-Extra: treesitter-full
|
|
@@ -65,6 +70,7 @@ Requires-Dist: tree-sitter-java>=0.23.5; extra == "treesitter-full"
|
|
|
65
70
|
Requires-Dist: tree-sitter-c>=0.24.1; extra == "treesitter-full"
|
|
66
71
|
Requires-Dist: tree-sitter-cpp>=0.23.0; extra == "treesitter-full"
|
|
67
72
|
Requires-Dist: tree-sitter-lua>=0.0.19; extra == "treesitter-full"
|
|
73
|
+
Requires-Dist: tree-sitter-julia>=0.23.1; extra == "treesitter-full"
|
|
68
74
|
Requires-Dist: tree-sitter-php>=0.24.1; extra == "treesitter-full"
|
|
69
75
|
Requires-Dist: tree-sitter-c-sharp>=0.23.5; extra == "treesitter-full"
|
|
70
76
|
Requires-Dist: tree-sitter-dart==0.1.0; extra == "treesitter-full"
|
|
@@ -76,6 +82,8 @@ Requires-Dist: torch>=2.6.0; extra == "semantic"
|
|
|
76
82
|
Requires-Dist: transformers>=5.0.0; extra == "semantic"
|
|
77
83
|
Provides-Extra: milvus
|
|
78
84
|
Requires-Dist: pymilvus[milvus-lite]>=3.0.0; extra == "milvus"
|
|
85
|
+
Provides-Extra: sqlite-vec
|
|
86
|
+
Requires-Dist: sqlite-vec>=0.1.9; extra == "sqlite-vec"
|
|
79
87
|
Provides-Extra: ast-grep
|
|
80
88
|
Requires-Dist: ast-grep-py>=0.44.0; extra == "ast-grep"
|
|
81
89
|
Requires-Dist: pyyaml>=6.0; extra == "ast-grep"
|
|
@@ -112,12 +120,15 @@ Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, and D
|
|
|
112
120
|
pip install code-graph-rag
|
|
113
121
|
```
|
|
114
122
|
|
|
115
|
-
With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C, C++, C#, PHP, Lua, Dart):
|
|
123
|
+
With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C, C++, C#, PHP, Lua, Dart) and the ast-grep tier (Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, Nix):
|
|
116
124
|
|
|
117
125
|
```bash
|
|
118
|
-
pip install 'code-graph-rag[treesitter-full]'
|
|
126
|
+
pip install 'code-graph-rag[treesitter-full,ast-grep]'
|
|
119
127
|
```
|
|
120
128
|
|
|
129
|
+
Without `ast-grep`, files in the ast-grep tier's languages are indexed as bare `File`
|
|
130
|
+
nodes, and a sync that meets them says so in a warning.
|
|
131
|
+
|
|
121
132
|
With semantic code search (UniXcoder embeddings):
|
|
122
133
|
|
|
123
134
|
```bash
|
|
@@ -127,7 +138,9 @@ pip install 'code-graph-rag[semantic]'
|
|
|
127
138
|
Qdrant is the default vector store for semantic search. To use Milvus Lite,
|
|
128
139
|
install `code-graph-rag[semantic,milvus]`, then set
|
|
129
140
|
`CGR_VECTOR_STORE_BACKEND=milvus` and `MILVUS_URI=./.milvus_code_embeddings.db`
|
|
130
|
-
before indexing.
|
|
141
|
+
before indexing. To keep the vectors in a SQLite file beside the embedded graph
|
|
142
|
+
(`~/.cgr/vectors.sqlite`, no server), install `code-graph-rag[semantic,sqlite-vec]`
|
|
143
|
+
and set `CGR_VECTOR_STORE_BACKEND=sqlite`.
|
|
131
144
|
|
|
132
145
|
To compute embeddings on an OpenAI-compatible endpoint (OpenAI, Ollama, vLLM)
|
|
133
146
|
instead of locally, set `CGR_EMBEDDING_PROVIDER=openai` with
|
|
@@ -145,7 +158,7 @@ ships immediately rather than waiting for the cadence.
|
|
|
145
158
|
To run code newer than the latest release, install from git with uv:
|
|
146
159
|
|
|
147
160
|
```bash
|
|
148
|
-
uv tool install "code-graph-rag[treesitter-full] @ git+https://github.com/vitali87/code-graph-rag@main"
|
|
161
|
+
uv tool install "code-graph-rag[treesitter-full,ast-grep] @ git+https://github.com/vitali87/code-graph-rag@main"
|
|
149
162
|
```
|
|
150
163
|
|
|
151
164
|
Use uv for this: it applies the project's `[tool.uv.sources]`, which build the C
|
|
@@ -154,7 +167,7 @@ and C++ grammars from forks that keep the declarations upstream drops after a
|
|
|
154
167
|
installs the upstream grammars.
|
|
155
168
|
|
|
156
169
|
To upgrade, rerun the install with `--upgrade` and the extras you chose, for
|
|
157
|
-
example `pip install --upgrade 'code-graph-rag[treesitter-full]'`. With uv or pipx,
|
|
170
|
+
example `pip install --upgrade 'code-graph-rag[treesitter-full,ast-grep]'`. With uv or pipx,
|
|
158
171
|
run `uv tool upgrade code-graph-rag` or `pipx upgrade code-graph-rag` instead; see the
|
|
159
172
|
[installation guide](https://github.com/vitali87/code-graph-rag/blob/main/docs/getting-started/installation.md#upgrade)
|
|
160
173
|
for git installs and the other methods.
|
|
@@ -308,11 +321,13 @@ with MemgraphIngestor(host="localhost", port=7687) as db:
|
|
|
308
321
|
import asyncio
|
|
309
322
|
from cgr import CypherGenerator
|
|
310
323
|
|
|
324
|
+
|
|
311
325
|
async def main():
|
|
312
326
|
gen = CypherGenerator()
|
|
313
327
|
cypher = await gen.generate("Find all classes that inherit from BaseModel")
|
|
314
328
|
print(cypher)
|
|
315
329
|
|
|
330
|
+
|
|
316
331
|
asyncio.run(main())
|
|
317
332
|
```
|
|
318
333
|
|
|
@@ -27,12 +27,15 @@ Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, and D
|
|
|
27
27
|
pip install code-graph-rag
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C, C++, C#, PHP, Lua, Dart):
|
|
30
|
+
With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C, C++, C#, PHP, Lua, Dart) and the ast-grep tier (Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, Nix):
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
pip install 'code-graph-rag[treesitter-full]'
|
|
33
|
+
pip install 'code-graph-rag[treesitter-full,ast-grep]'
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
+
Without `ast-grep`, files in the ast-grep tier's languages are indexed as bare `File`
|
|
37
|
+
nodes, and a sync that meets them says so in a warning.
|
|
38
|
+
|
|
36
39
|
With semantic code search (UniXcoder embeddings):
|
|
37
40
|
|
|
38
41
|
```bash
|
|
@@ -42,7 +45,9 @@ pip install 'code-graph-rag[semantic]'
|
|
|
42
45
|
Qdrant is the default vector store for semantic search. To use Milvus Lite,
|
|
43
46
|
install `code-graph-rag[semantic,milvus]`, then set
|
|
44
47
|
`CGR_VECTOR_STORE_BACKEND=milvus` and `MILVUS_URI=./.milvus_code_embeddings.db`
|
|
45
|
-
before indexing.
|
|
48
|
+
before indexing. To keep the vectors in a SQLite file beside the embedded graph
|
|
49
|
+
(`~/.cgr/vectors.sqlite`, no server), install `code-graph-rag[semantic,sqlite-vec]`
|
|
50
|
+
and set `CGR_VECTOR_STORE_BACKEND=sqlite`.
|
|
46
51
|
|
|
47
52
|
To compute embeddings on an OpenAI-compatible endpoint (OpenAI, Ollama, vLLM)
|
|
48
53
|
instead of locally, set `CGR_EMBEDDING_PROVIDER=openai` with
|
|
@@ -60,7 +65,7 @@ ships immediately rather than waiting for the cadence.
|
|
|
60
65
|
To run code newer than the latest release, install from git with uv:
|
|
61
66
|
|
|
62
67
|
```bash
|
|
63
|
-
uv tool install "code-graph-rag[treesitter-full] @ git+https://github.com/vitali87/code-graph-rag@main"
|
|
68
|
+
uv tool install "code-graph-rag[treesitter-full,ast-grep] @ git+https://github.com/vitali87/code-graph-rag@main"
|
|
64
69
|
```
|
|
65
70
|
|
|
66
71
|
Use uv for this: it applies the project's `[tool.uv.sources]`, which build the C
|
|
@@ -69,7 +74,7 @@ and C++ grammars from forks that keep the declarations upstream drops after a
|
|
|
69
74
|
installs the upstream grammars.
|
|
70
75
|
|
|
71
76
|
To upgrade, rerun the install with `--upgrade` and the extras you chose, for
|
|
72
|
-
example `pip install --upgrade 'code-graph-rag[treesitter-full]'`. With uv or pipx,
|
|
77
|
+
example `pip install --upgrade 'code-graph-rag[treesitter-full,ast-grep]'`. With uv or pipx,
|
|
73
78
|
run `uv tool upgrade code-graph-rag` or `pipx upgrade code-graph-rag` instead; see the
|
|
74
79
|
[installation guide](https://github.com/vitali87/code-graph-rag/blob/main/docs/getting-started/installation.md#upgrade)
|
|
75
80
|
for git installs and the other methods.
|
|
@@ -223,11 +228,13 @@ with MemgraphIngestor(host="localhost", port=7687) as db:
|
|
|
223
228
|
import asyncio
|
|
224
229
|
from cgr import CypherGenerator
|
|
225
230
|
|
|
231
|
+
|
|
226
232
|
async def main():
|
|
227
233
|
gen = CypherGenerator()
|
|
228
234
|
cypher = await gen.generate("Find all classes that inherit from BaseModel")
|
|
229
235
|
print(cypher)
|
|
230
236
|
|
|
237
|
+
|
|
231
238
|
asyncio.run(main())
|
|
232
239
|
```
|
|
233
240
|
|
|
@@ -61,7 +61,8 @@ 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
|
-
- **
|
|
64
|
+
- **Contextual Queries**: Support for more detailed context queries has been added, including reasons and evaluation ingestor reads, enhancing the understanding of code interactions.
|
|
65
|
+
- **Graph Improvements**: The graph analysis capabilities have been expanded to follow cross-service links and implementors/overrides, providing a more comprehensive view of code dependencies.
|
|
65
66
|
<!-- /SECTION:latest_news -->
|
|
66
67
|
|
|
67
68
|
See [NEWS.md](NEWS.md) for the full history.
|
|
@@ -95,18 +96,18 @@ See the [Architecture Overview](docs/architecture/overview.md) and [Graph Schema
|
|
|
95
96
|
|
|
96
97
|
## Supported Languages
|
|
97
98
|
|
|
98
|
-
Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, and
|
|
99
|
+
Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, Dart, and Julia are fully supported. Scala is in development, and Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, and Nix have structural support (modules, functions, classes where the language has them, and imports) through the pluggable ast-grep tier. See the [Language Support](docs/architecture/language-support.md) matrix for per-language capabilities.
|
|
99
100
|
|
|
100
101
|
## Installation
|
|
101
102
|
|
|
102
|
-
`cgr` is published to PyPI. Install it system-wide with the `treesitter-full` (
|
|
103
|
+
`cgr` is published to PyPI. Install it system-wide with the `treesitter-full` (tree-sitter grammars), `ast-grep` (Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, Nix) and `semantic` (vector search) extras:
|
|
103
104
|
|
|
104
105
|
```bash
|
|
105
106
|
# with uv (recommended)
|
|
106
|
-
uv tool install "code-graph-rag[treesitter-full,semantic]"
|
|
107
|
+
uv tool install "code-graph-rag[treesitter-full,ast-grep,semantic]"
|
|
107
108
|
|
|
108
109
|
# or with pipx
|
|
109
|
-
pipx install "code-graph-rag[treesitter-full,semantic]"
|
|
110
|
+
pipx install "code-graph-rag[treesitter-full,ast-grep,semantic]"
|
|
110
111
|
```
|
|
111
112
|
|
|
112
113
|
### Which version am I getting?
|
|
@@ -131,12 +132,12 @@ addressable; binaries and PyPI uploads follow the cadence above.
|
|
|
131
132
|
To run code newer than the latest release, install from git:
|
|
132
133
|
|
|
133
134
|
```bash
|
|
134
|
-
uv tool install "code-graph-rag[treesitter-full,semantic] @ git+https://github.com/vitali87/code-graph-rag@main"
|
|
135
|
+
uv tool install "code-graph-rag[treesitter-full,ast-grep,semantic] @ git+https://github.com/vitali87/code-graph-rag@main"
|
|
135
136
|
```
|
|
136
137
|
|
|
137
138
|
To upgrade an existing install, run `uv tool upgrade code-graph-rag` (with pipx, `pipx upgrade code-graph-rag`, or `pipx reinstall code-graph-rag` for a git install). [Upgrade](docs/getting-started/installation.md#upgrade) covers the other install methods.
|
|
138
139
|
|
|
139
|
-
You also need Python 3.12
|
|
140
|
+
You also need Python 3.12+ and `ripgrep`. The graph lives in an embedded SQLite file by default, so there is no database server to run: no Docker and no `cmake`. Memgraph and Neo4j remain available as opt-in backends ([Graph Backends](docs/architecture/embedded-graph.md)). Full prerequisites, source installs, and environment setup are in the [Installation](docs/getting-started/installation.md) guide.
|
|
140
141
|
|
|
141
142
|
> [!NOTE]
|
|
142
143
|
> The wheel is pure Python (`py3-none-any`), so it installs on any platform with Python 3.12 or newer. Older system interpreters (Debian Bookworm ships 3.11) need the interpreter pinned explicitly; see [Installation](docs/getting-started/installation.md#older-system-interpreters) for the commands.
|
|
@@ -144,20 +145,24 @@ You also need Python 3.12+, Docker (for Memgraph), `cmake`, and `ripgrep`. Full
|
|
|
144
145
|
## Quick Start
|
|
145
146
|
|
|
146
147
|
```bash
|
|
147
|
-
# Start the packaged Memgraph + Qdrant stack (no compose file needed)
|
|
148
|
-
cgr daemon up
|
|
149
|
-
|
|
150
148
|
# Parse a repository into the graph, then query it
|
|
151
149
|
cgr start --repo-path /path/to/repo --update-graph
|
|
152
150
|
cgr start --repo-path /path/to/repo
|
|
153
151
|
```
|
|
154
152
|
|
|
153
|
+
The graph is written to `~/.cgr/graph.sqlite` (set `SQLITE_GRAPH_PATH` to move it).
|
|
154
|
+
To use Memgraph instead, install the driver with the `memgraph` extra, set
|
|
155
|
+
`GRAPH_BACKEND=memgraph`, and start the packaged Memgraph + Qdrant stack with
|
|
156
|
+
`cgr daemon up`.
|
|
157
|
+
|
|
155
158
|
Repeat the first command for each repository you want indexed; the graph is
|
|
156
159
|
shared, and syncing one project leaves the others alone. To start over from an
|
|
157
160
|
empty graph, add `--clean` — it deletes **every** project in the shared graph,
|
|
158
161
|
not just this one, and asks for confirmation first when other
|
|
159
162
|
projects would be destroyed.
|
|
160
163
|
|
|
164
|
+
A default index leaves out the opt-in [capture groups](docs/architecture/graph-schema.md#capture-groups); add them with `--capture` or `CGR_CAPTURE`.
|
|
165
|
+
|
|
161
166
|
The [Quick Start](docs/getting-started/quickstart.md) guide walks through parsing, querying, and exporting in five minutes.
|
|
162
167
|
|
|
163
168
|
## MCP Server
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: code-graph-rag
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Keywords: rag,retrieval-augmented-generation,knowledge-graph,code-analysis,tree-sitter,mcp,mcp-server,llm,graph-database,semantic-search,codebase,memgraph,developer-tools,monorepo
|
|
@@ -19,10 +19,9 @@ Requires-Python: >=3.12
|
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Requires-Dist: loguru>=0.7.3
|
|
22
|
-
Requires-Dist: mcp
|
|
22
|
+
Requires-Dist: mcp<2,>=1.28.1
|
|
23
23
|
Requires-Dist: pydantic-ai-slim[anthropic,google,openai]>=2.0.0
|
|
24
24
|
Requires-Dist: pydantic-settings>=2.12.0
|
|
25
|
-
Requires-Dist: pymgclient>=1.5.1
|
|
26
25
|
Requires-Dist: python-dotenv>=1.2.1
|
|
27
26
|
Requires-Dist: tiktoken>=0.12.0
|
|
28
27
|
Requires-Dist: tomli-w>=1.2.0
|
|
@@ -39,6 +38,8 @@ Requires-Dist: defusedxml>=0.7.1
|
|
|
39
38
|
Requires-Dist: huggingface-hub[hf-xet]>=1.7.2
|
|
40
39
|
Requires-Dist: pathspec>=1.0.4
|
|
41
40
|
Requires-Dist: pygments>=2.20.0
|
|
41
|
+
Requires-Dist: regex>=2024.11.6
|
|
42
|
+
Requires-Dist: cgr-graph-rs<0.2,>=0.1.0; platform_python_implementation == "CPython" and ((sys_platform == "linux" and (platform_machine == "x86_64" or platform_machine == "aarch64")) or sys_platform == "darwin" or (sys_platform == "win32" and platform_machine == "AMD64"))
|
|
42
43
|
Provides-Extra: test
|
|
43
44
|
Requires-Dist: jedi>=0.19; extra == "test"
|
|
44
45
|
Requires-Dist: pytest>=8.4.1; extra == "test"
|
|
@@ -50,8 +51,12 @@ Requires-Dist: libclang>=18.1.1; extra == "test"
|
|
|
50
51
|
Requires-Dist: filelock>=3.12; extra == "test"
|
|
51
52
|
Requires-Dist: ast-grep-py>=0.44.0; extra == "test"
|
|
52
53
|
Requires-Dist: pyyaml>=6.0; extra == "test"
|
|
54
|
+
Requires-Dist: pymgclient>=1.6.0; extra == "test"
|
|
55
|
+
Requires-Dist: sqlite-vec>=0.1.9; extra == "test"
|
|
53
56
|
Provides-Extra: cpp
|
|
54
57
|
Requires-Dist: libclang>=18.1.1; extra == "cpp"
|
|
58
|
+
Provides-Extra: memgraph
|
|
59
|
+
Requires-Dist: pymgclient>=1.6.0; extra == "memgraph"
|
|
55
60
|
Provides-Extra: neo4j
|
|
56
61
|
Requires-Dist: neo4j>=5.28.1; extra == "neo4j"
|
|
57
62
|
Provides-Extra: treesitter-full
|
|
@@ -65,6 +70,7 @@ Requires-Dist: tree-sitter-java>=0.23.5; extra == "treesitter-full"
|
|
|
65
70
|
Requires-Dist: tree-sitter-c>=0.24.1; extra == "treesitter-full"
|
|
66
71
|
Requires-Dist: tree-sitter-cpp>=0.23.0; extra == "treesitter-full"
|
|
67
72
|
Requires-Dist: tree-sitter-lua>=0.0.19; extra == "treesitter-full"
|
|
73
|
+
Requires-Dist: tree-sitter-julia>=0.23.1; extra == "treesitter-full"
|
|
68
74
|
Requires-Dist: tree-sitter-php>=0.24.1; extra == "treesitter-full"
|
|
69
75
|
Requires-Dist: tree-sitter-c-sharp>=0.23.5; extra == "treesitter-full"
|
|
70
76
|
Requires-Dist: tree-sitter-dart==0.1.0; extra == "treesitter-full"
|
|
@@ -76,6 +82,8 @@ Requires-Dist: torch>=2.6.0; extra == "semantic"
|
|
|
76
82
|
Requires-Dist: transformers>=5.0.0; extra == "semantic"
|
|
77
83
|
Provides-Extra: milvus
|
|
78
84
|
Requires-Dist: pymilvus[milvus-lite]>=3.0.0; extra == "milvus"
|
|
85
|
+
Provides-Extra: sqlite-vec
|
|
86
|
+
Requires-Dist: sqlite-vec>=0.1.9; extra == "sqlite-vec"
|
|
79
87
|
Provides-Extra: ast-grep
|
|
80
88
|
Requires-Dist: ast-grep-py>=0.44.0; extra == "ast-grep"
|
|
81
89
|
Requires-Dist: pyyaml>=6.0; extra == "ast-grep"
|
|
@@ -112,12 +120,15 @@ Python, TypeScript, TSX, JavaScript, Rust, Go, Java, C, C++, C#, PHP, Lua, and D
|
|
|
112
120
|
pip install code-graph-rag
|
|
113
121
|
```
|
|
114
122
|
|
|
115
|
-
With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C, C++, C#, PHP, Lua, Dart):
|
|
123
|
+
With all Tree-sitter grammars (Python, JS, TS, Rust, Go, Java, Scala, C, C++, C#, PHP, Lua, Dart) and the ast-grep tier (Ruby, Kotlin, Swift, Elixir, Haskell, Solidity, Bash, Nix):
|
|
116
124
|
|
|
117
125
|
```bash
|
|
118
|
-
pip install 'code-graph-rag[treesitter-full]'
|
|
126
|
+
pip install 'code-graph-rag[treesitter-full,ast-grep]'
|
|
119
127
|
```
|
|
120
128
|
|
|
129
|
+
Without `ast-grep`, files in the ast-grep tier's languages are indexed as bare `File`
|
|
130
|
+
nodes, and a sync that meets them says so in a warning.
|
|
131
|
+
|
|
121
132
|
With semantic code search (UniXcoder embeddings):
|
|
122
133
|
|
|
123
134
|
```bash
|
|
@@ -127,7 +138,9 @@ pip install 'code-graph-rag[semantic]'
|
|
|
127
138
|
Qdrant is the default vector store for semantic search. To use Milvus Lite,
|
|
128
139
|
install `code-graph-rag[semantic,milvus]`, then set
|
|
129
140
|
`CGR_VECTOR_STORE_BACKEND=milvus` and `MILVUS_URI=./.milvus_code_embeddings.db`
|
|
130
|
-
before indexing.
|
|
141
|
+
before indexing. To keep the vectors in a SQLite file beside the embedded graph
|
|
142
|
+
(`~/.cgr/vectors.sqlite`, no server), install `code-graph-rag[semantic,sqlite-vec]`
|
|
143
|
+
and set `CGR_VECTOR_STORE_BACKEND=sqlite`.
|
|
131
144
|
|
|
132
145
|
To compute embeddings on an OpenAI-compatible endpoint (OpenAI, Ollama, vLLM)
|
|
133
146
|
instead of locally, set `CGR_EMBEDDING_PROVIDER=openai` with
|
|
@@ -145,7 +158,7 @@ ships immediately rather than waiting for the cadence.
|
|
|
145
158
|
To run code newer than the latest release, install from git with uv:
|
|
146
159
|
|
|
147
160
|
```bash
|
|
148
|
-
uv tool install "code-graph-rag[treesitter-full] @ git+https://github.com/vitali87/code-graph-rag@main"
|
|
161
|
+
uv tool install "code-graph-rag[treesitter-full,ast-grep] @ git+https://github.com/vitali87/code-graph-rag@main"
|
|
149
162
|
```
|
|
150
163
|
|
|
151
164
|
Use uv for this: it applies the project's `[tool.uv.sources]`, which build the C
|
|
@@ -154,7 +167,7 @@ and C++ grammars from forks that keep the declarations upstream drops after a
|
|
|
154
167
|
installs the upstream grammars.
|
|
155
168
|
|
|
156
169
|
To upgrade, rerun the install with `--upgrade` and the extras you chose, for
|
|
157
|
-
example `pip install --upgrade 'code-graph-rag[treesitter-full]'`. With uv or pipx,
|
|
170
|
+
example `pip install --upgrade 'code-graph-rag[treesitter-full,ast-grep]'`. With uv or pipx,
|
|
158
171
|
run `uv tool upgrade code-graph-rag` or `pipx upgrade code-graph-rag` instead; see the
|
|
159
172
|
[installation guide](https://github.com/vitali87/code-graph-rag/blob/main/docs/getting-started/installation.md#upgrade)
|
|
160
173
|
for git installs and the other methods.
|
|
@@ -308,11 +321,13 @@ with MemgraphIngestor(host="localhost", port=7687) as db:
|
|
|
308
321
|
import asyncio
|
|
309
322
|
from cgr import CypherGenerator
|
|
310
323
|
|
|
324
|
+
|
|
311
325
|
async def main():
|
|
312
326
|
gen = CypherGenerator()
|
|
313
327
|
cypher = await gen.generate("Find all classes that inherit from BaseModel")
|
|
314
328
|
print(cypher)
|
|
315
329
|
|
|
330
|
+
|
|
316
331
|
asyncio.run(main())
|
|
317
332
|
```
|
|
318
333
|
|
|
@@ -13,13 +13,15 @@ codebase_rag/__init__.py
|
|
|
13
13
|
codebase_rag/_cli_env.py
|
|
14
14
|
codebase_rag/ast_cache.py
|
|
15
15
|
codebase_rag/capture.py
|
|
16
|
-
codebase_rag/
|
|
16
|
+
codebase_rag/check_isolation.py
|
|
17
|
+
codebase_rag/checkout_state.py
|
|
17
18
|
codebase_rag/cli.py
|
|
18
19
|
codebase_rag/cli_help.py
|
|
19
20
|
codebase_rag/cli_runtime.py
|
|
20
21
|
codebase_rag/config.py
|
|
21
22
|
codebase_rag/console_marks.py
|
|
22
23
|
codebase_rag/context_pruning.py
|
|
24
|
+
codebase_rag/context_slice.py
|
|
23
25
|
codebase_rag/crash_correlation.py
|
|
24
26
|
codebase_rag/cypher_queries.py
|
|
25
27
|
codebase_rag/dead_code.py
|
|
@@ -40,26 +42,35 @@ codebase_rag/graph_dialects.py
|
|
|
40
42
|
codebase_rag/graph_loader.py
|
|
41
43
|
codebase_rag/graph_query.py
|
|
42
44
|
codebase_rag/graph_updater.py
|
|
45
|
+
codebase_rag/interface_skip.py
|
|
43
46
|
codebase_rag/language_spec.py
|
|
44
47
|
codebase_rag/logs.py
|
|
45
48
|
codebase_rag/main.py
|
|
49
|
+
codebase_rag/mgclient_compat.py
|
|
50
|
+
codebase_rag/mgclient_probe.py
|
|
46
51
|
codebase_rag/models.py
|
|
47
52
|
codebase_rag/parser_fingerprint.py
|
|
48
53
|
codebase_rag/parser_loader.py
|
|
49
54
|
codebase_rag/path_filters.py
|
|
55
|
+
codebase_rag/project_selection.py
|
|
50
56
|
codebase_rag/prompts.py
|
|
51
57
|
codebase_rag/readme_sections.py
|
|
52
58
|
codebase_rag/schema_builder.py
|
|
53
59
|
codebase_rag/schema_parse.py
|
|
54
60
|
codebase_rag/schemas.py
|
|
55
61
|
codebase_rag/sql_names.py
|
|
62
|
+
codebase_rag/sqlite_vectors.py
|
|
56
63
|
codebase_rag/structural_check.py
|
|
57
64
|
codebase_rag/structural_delta.py
|
|
65
|
+
codebase_rag/sync_guard.py
|
|
66
|
+
codebase_rag/sync_lock.py
|
|
58
67
|
codebase_rag/taint.py
|
|
59
68
|
codebase_rag/tool_errors.py
|
|
69
|
+
codebase_rag/tree_sitter_point.py
|
|
60
70
|
codebase_rag/types_defs.py
|
|
61
71
|
codebase_rag/unixcoder.py
|
|
62
72
|
codebase_rag/vector_store.py
|
|
73
|
+
codebase_rag/watch.py
|
|
63
74
|
codebase_rag/analyzers/__init__.py
|
|
64
75
|
codebase_rag/analyzers/ast_grep_analyzer.py
|
|
65
76
|
codebase_rag/analyzers/ast_grep_rules/patterns/c.yaml
|
|
@@ -114,6 +125,7 @@ codebase_rag/constants/ast_dart.py
|
|
|
114
125
|
codebase_rag/constants/ast_go.py
|
|
115
126
|
codebase_rag/constants/ast_java.py
|
|
116
127
|
codebase_rag/constants/ast_js.py
|
|
128
|
+
codebase_rag/constants/ast_julia.py
|
|
117
129
|
codebase_rag/constants/ast_lua.py
|
|
118
130
|
codebase_rag/constants/ast_nodes.py
|
|
119
131
|
codebase_rag/constants/ast_php.py
|
|
@@ -127,24 +139,49 @@ codebase_rag/constants/core.py
|
|
|
127
139
|
codebase_rag/constants/deadcode_roots.py
|
|
128
140
|
codebase_rag/constants/deps.py
|
|
129
141
|
codebase_rag/constants/duplicates.py
|
|
142
|
+
codebase_rag/constants/embedded_graph.py
|
|
130
143
|
codebase_rag/constants/fqn_specs.py
|
|
131
144
|
codebase_rag/constants/graph.py
|
|
132
145
|
codebase_rag/constants/health.py
|
|
146
|
+
codebase_rag/constants/interface.py
|
|
133
147
|
codebase_rag/constants/lang_tooling.py
|
|
134
148
|
codebase_rag/constants/languages.py
|
|
135
149
|
codebase_rag/constants/mcp.py
|
|
150
|
+
codebase_rag/constants/notebook.py
|
|
136
151
|
codebase_rag/constants/providers.py
|
|
137
152
|
codebase_rag/constants/security.py
|
|
153
|
+
codebase_rag/constants/sqlite_vectors.py
|
|
138
154
|
codebase_rag/constants/stdlib_types.py
|
|
139
155
|
codebase_rag/constants/structural.py
|
|
140
156
|
codebase_rag/constants/trace.py
|
|
141
157
|
codebase_rag/editing/__init__.py
|
|
142
158
|
codebase_rag/editing/cli.py
|
|
143
159
|
codebase_rag/editing/contract.py
|
|
160
|
+
codebase_rag/editing/import_paths.py
|
|
144
161
|
codebase_rag/editing/imports.py
|
|
162
|
+
codebase_rag/editing/occurrences.py
|
|
145
163
|
codebase_rag/editing/patcher.py
|
|
146
164
|
codebase_rag/editing/rename.py
|
|
165
|
+
codebase_rag/editing/signature_contract.py
|
|
166
|
+
codebase_rag/editing/signature_spec.py
|
|
167
|
+
codebase_rag/editing/sites.py
|
|
147
168
|
codebase_rag/editing/transaction.py
|
|
169
|
+
codebase_rag/embedded_graph/__init__.py
|
|
170
|
+
codebase_rag/embedded_graph/compiler.py
|
|
171
|
+
codebase_rag/embedded_graph/connection.py
|
|
172
|
+
codebase_rag/embedded_graph/cypher_ast.py
|
|
173
|
+
codebase_rag/embedded_graph/executor.py
|
|
174
|
+
codebase_rag/embedded_graph/expressions.py
|
|
175
|
+
codebase_rag/embedded_graph/extension.py
|
|
176
|
+
codebase_rag/embedded_graph/functions.py
|
|
177
|
+
codebase_rag/embedded_graph/lexer.py
|
|
178
|
+
codebase_rag/embedded_graph/limits.py
|
|
179
|
+
codebase_rag/embedded_graph/native.py
|
|
180
|
+
codebase_rag/embedded_graph/parser.py
|
|
181
|
+
codebase_rag/embedded_graph/procedures.py
|
|
182
|
+
codebase_rag/embedded_graph/sql.py
|
|
183
|
+
codebase_rag/embedded_graph/store.py
|
|
184
|
+
codebase_rag/embedded_graph/types.py
|
|
148
185
|
codebase_rag/mcp/__init__.py
|
|
149
186
|
codebase_rag/mcp/client.py
|
|
150
187
|
codebase_rag/mcp/server.py
|
|
@@ -152,6 +189,7 @@ codebase_rag/mcp/tools.py
|
|
|
152
189
|
codebase_rag/parsers/__init__.py
|
|
153
190
|
codebase_rag/parsers/anchor_hash.py
|
|
154
191
|
codebase_rag/parsers/ast_fingerprint.py
|
|
192
|
+
codebase_rag/parsers/ast_grep_scope.py
|
|
155
193
|
codebase_rag/parsers/ast_grep_tier.py
|
|
156
194
|
codebase_rag/parsers/build_lock.py
|
|
157
195
|
codebase_rag/parsers/call_processor.py
|
|
@@ -174,10 +212,13 @@ codebase_rag/parsers/flat_module.py
|
|
|
174
212
|
codebase_rag/parsers/frontend_mode.py
|
|
175
213
|
codebase_rag/parsers/function_ingest.py
|
|
176
214
|
codebase_rag/parsers/import_processor.py
|
|
215
|
+
codebase_rag/parsers/interface_fingerprint.py
|
|
177
216
|
codebase_rag/parsers/java_generated.py
|
|
178
217
|
codebase_rag/parsers/java_lombok.py
|
|
179
218
|
codebase_rag/parsers/module_docstring.py
|
|
219
|
+
codebase_rag/parsers/notebook.py
|
|
180
220
|
codebase_rag/parsers/parameter_nodes.py
|
|
221
|
+
codebase_rag/parsers/positional_params.py
|
|
181
222
|
codebase_rag/parsers/python_source_roots.py
|
|
182
223
|
codebase_rag/parsers/rpc_exposure.py
|
|
183
224
|
codebase_rag/parsers/semantic_call_join.py
|
|
@@ -196,6 +237,7 @@ codebase_rag/parsers/ast_grep_patterns/ruby.yaml
|
|
|
196
237
|
codebase_rag/parsers/ast_grep_patterns/solidity.yaml
|
|
197
238
|
codebase_rag/parsers/ast_grep_patterns/swift.yaml
|
|
198
239
|
codebase_rag/parsers/class_ingest/__init__.py
|
|
240
|
+
codebase_rag/parsers/class_ingest/base_targets.py
|
|
199
241
|
codebase_rag/parsers/class_ingest/cpp_modules.py
|
|
200
242
|
codebase_rag/parsers/class_ingest/identity.py
|
|
201
243
|
codebase_rag/parsers/class_ingest/method_override.py
|
|
@@ -205,7 +247,12 @@ codebase_rag/parsers/class_ingest/parent_extraction.py
|
|
|
205
247
|
codebase_rag/parsers/class_ingest/relationships.py
|
|
206
248
|
codebase_rag/parsers/class_ingest/utils.py
|
|
207
249
|
codebase_rag/parsers/cpp/__init__.py
|
|
250
|
+
codebase_rag/parsers/cpp/class_macro.py
|
|
251
|
+
codebase_rag/parsers/cpp/function_values.py
|
|
252
|
+
codebase_rag/parsers/cpp/local_types.py
|
|
253
|
+
codebase_rag/parsers/cpp/overloads.py
|
|
208
254
|
codebase_rag/parsers/cpp/preproc_recovery.py
|
|
255
|
+
codebase_rag/parsers/cpp/trailing_annotation.py
|
|
209
256
|
codebase_rag/parsers/cpp/type_inference.py
|
|
210
257
|
codebase_rag/parsers/cpp/utils.py
|
|
211
258
|
codebase_rag/parsers/cpp_frontend/__init__.py
|
|
@@ -213,6 +260,7 @@ codebase_rag/parsers/cpp_frontend/constants.py
|
|
|
213
260
|
codebase_rag/parsers/cpp_frontend/frontend.py
|
|
214
261
|
codebase_rag/parsers/cpp_frontend/qn.py
|
|
215
262
|
codebase_rag/parsers/csharp/__init__.py
|
|
263
|
+
codebase_rag/parsers/csharp/arity.py
|
|
216
264
|
codebase_rag/parsers/csharp/type_inference.py
|
|
217
265
|
codebase_rag/parsers/csharp/utils.py
|
|
218
266
|
codebase_rag/parsers/csharp_frontend/__init__.py
|
|
@@ -235,6 +283,10 @@ codebase_rag/parsers/frontends/protocol.py
|
|
|
235
283
|
codebase_rag/parsers/frontends/python.py
|
|
236
284
|
codebase_rag/parsers/frontends/registry.py
|
|
237
285
|
codebase_rag/parsers/go/__init__.py
|
|
286
|
+
codebase_rag/parsers/go/builds.py
|
|
287
|
+
codebase_rag/parsers/go/interface_ingest.py
|
|
288
|
+
codebase_rag/parsers/go/interfaces.py
|
|
289
|
+
codebase_rag/parsers/go/link_state.py
|
|
238
290
|
codebase_rag/parsers/go/module_paths.py
|
|
239
291
|
codebase_rag/parsers/go/type_inference.py
|
|
240
292
|
codebase_rag/parsers/go/utils.py
|
|
@@ -248,6 +300,7 @@ codebase_rag/parsers/handlers/base.py
|
|
|
248
300
|
codebase_rag/parsers/handlers/cpp.py
|
|
249
301
|
codebase_rag/parsers/handlers/java.py
|
|
250
302
|
codebase_rag/parsers/handlers/js_ts.py
|
|
303
|
+
codebase_rag/parsers/handlers/julia.py
|
|
251
304
|
codebase_rag/parsers/handlers/lua.py
|
|
252
305
|
codebase_rag/parsers/handlers/php.py
|
|
253
306
|
codebase_rag/parsers/handlers/protocol.py
|
|
@@ -261,6 +314,7 @@ codebase_rag/parsers/io_access/extract.py
|
|
|
261
314
|
codebase_rag/parsers/io_access/models.py
|
|
262
315
|
codebase_rag/parsers/io_access/processor.py
|
|
263
316
|
codebase_rag/parsers/io_access/registry.py
|
|
317
|
+
codebase_rag/parsers/io_access/url_folding.py
|
|
264
318
|
codebase_rag/parsers/java/__init__.py
|
|
265
319
|
codebase_rag/parsers/java/method_resolver.py
|
|
266
320
|
codebase_rag/parsers/java/type_inference.py
|
|
@@ -271,25 +325,42 @@ codebase_rag/parsers/java_frontend/__init__.py
|
|
|
271
325
|
codebase_rag/parsers/java_frontend/frontend.py
|
|
272
326
|
codebase_rag/parsers/java_frontend/javac/cgr/Frontend.java
|
|
273
327
|
codebase_rag/parsers/js_ts/__init__.py
|
|
328
|
+
codebase_rag/parsers/js_ts/commonjs_exports.py
|
|
274
329
|
codebase_rag/parsers/js_ts/ingest.py
|
|
275
330
|
codebase_rag/parsers/js_ts/module_paths.py
|
|
276
331
|
codebase_rag/parsers/js_ts/module_system.py
|
|
332
|
+
codebase_rag/parsers/js_ts/overloads.py
|
|
333
|
+
codebase_rag/parsers/js_ts/reexports.py
|
|
277
334
|
codebase_rag/parsers/js_ts/type_inference.py
|
|
278
335
|
codebase_rag/parsers/js_ts/utils.py
|
|
336
|
+
codebase_rag/parsers/julia/__init__.py
|
|
337
|
+
codebase_rag/parsers/julia/utils.py
|
|
279
338
|
codebase_rag/parsers/lua/__init__.py
|
|
280
339
|
codebase_rag/parsers/lua/type_inference.py
|
|
281
340
|
codebase_rag/parsers/lua/utils.py
|
|
341
|
+
codebase_rag/parsers/php/__init__.py
|
|
342
|
+
codebase_rag/parsers/php/class_names.py
|
|
343
|
+
codebase_rag/parsers/php/namespaces.py
|
|
344
|
+
codebase_rag/parsers/php/utils.py
|
|
282
345
|
codebase_rag/parsers/py/__init__.py
|
|
283
346
|
codebase_rag/parsers/py/ast_analyzer.py
|
|
347
|
+
codebase_rag/parsers/py/class_aliases.py
|
|
284
348
|
codebase_rag/parsers/py/expression_analyzer.py
|
|
349
|
+
codebase_rag/parsers/py/forward_refs.py
|
|
350
|
+
codebase_rag/parsers/py/overloads.py
|
|
351
|
+
codebase_rag/parsers/py/receiver_rebinding.py
|
|
285
352
|
codebase_rag/parsers/py/type_inference.py
|
|
286
353
|
codebase_rag/parsers/py/utils.py
|
|
287
354
|
codebase_rag/parsers/py/variable_analyzer.py
|
|
355
|
+
codebase_rag/parsers/py/with_analyzer.py
|
|
288
356
|
codebase_rag/parsers/py_frontend/__init__.py
|
|
289
357
|
codebase_rag/parsers/py_frontend/frontend.py
|
|
290
358
|
codebase_rag/parsers/rs/__init__.py
|
|
359
|
+
codebase_rag/parsers/rs/cargo_semver.py
|
|
291
360
|
codebase_rag/parsers/rs/type_inference.py
|
|
292
361
|
codebase_rag/parsers/rs/utils.py
|
|
362
|
+
codebase_rag/parsers/scala/__init__.py
|
|
363
|
+
codebase_rag/parsers/scala/utils.py
|
|
293
364
|
codebase_rag/providers/__init__.py
|
|
294
365
|
codebase_rag/providers/base.py
|
|
295
366
|
codebase_rag/providers/litellm.py
|
|
@@ -297,6 +368,7 @@ codebase_rag/queries/highlights/c_sharp.scm
|
|
|
297
368
|
codebase_rag/queries/highlights/dart.scm
|
|
298
369
|
codebase_rag/queries/highlights/java.scm
|
|
299
370
|
codebase_rag/queries/highlights/javascript.scm
|
|
371
|
+
codebase_rag/queries/highlights/julia.scm
|
|
300
372
|
codebase_rag/queries/highlights/php.scm
|
|
301
373
|
codebase_rag/queries/highlights/python.scm
|
|
302
374
|
codebase_rag/queries/highlights/rust.scm
|
|
@@ -328,9 +400,11 @@ codebase_rag/tools/duplicate_detection.py
|
|
|
328
400
|
codebase_rag/tools/file_editor.py
|
|
329
401
|
codebase_rag/tools/file_reader.py
|
|
330
402
|
codebase_rag/tools/file_writer.py
|
|
403
|
+
codebase_rag/tools/graph_refresh.py
|
|
331
404
|
codebase_rag/tools/graph_rerank.py
|
|
332
405
|
codebase_rag/tools/health_checker.py
|
|
333
406
|
codebase_rag/tools/language.py
|
|
407
|
+
codebase_rag/tools/language_catalog.py
|
|
334
408
|
codebase_rag/tools/research.py
|
|
335
409
|
codebase_rag/tools/semantic_search.py
|
|
336
410
|
codebase_rag/tools/shell_command.py
|
|
@@ -339,6 +413,7 @@ codebase_rag/tools/structural_search.py
|
|
|
339
413
|
codebase_rag/tools/tool_descriptions.py
|
|
340
414
|
codebase_rag/tools/web_search.py
|
|
341
415
|
codebase_rag/trace/__init__.py
|
|
416
|
+
codebase_rag/trace/carry.py
|
|
342
417
|
codebase_rag/trace/cli.py
|
|
343
418
|
codebase_rag/trace/cpuprofile.py
|
|
344
419
|
codebase_rag/trace/dispatch_site.py
|
|
@@ -355,13 +430,19 @@ codebase_rag/trace/speedscope.py
|
|
|
355
430
|
codebase_rag/trace/tracer.py
|
|
356
431
|
codebase_rag/trace/xdebug.py
|
|
357
432
|
codebase_rag/utils/__init__.py
|
|
433
|
+
codebase_rag/utils/cpp_signatures.py
|
|
358
434
|
codebase_rag/utils/dependencies.py
|
|
435
|
+
codebase_rag/utils/endpoints.py
|
|
359
436
|
codebase_rag/utils/fqn_resolver.py
|
|
437
|
+
codebase_rag/utils/interruptible_thread.py
|
|
360
438
|
codebase_rag/utils/json_io.py
|
|
361
439
|
codebase_rag/utils/path_utils.py
|
|
440
|
+
codebase_rag/utils/process_owner.py
|
|
362
441
|
codebase_rag/utils/qn_markers.py
|
|
363
442
|
codebase_rag/utils/rich_markdown.py
|
|
443
|
+
codebase_rag/utils/source_encoding.py
|
|
364
444
|
codebase_rag/utils/source_extraction.py
|
|
445
|
+
codebase_rag/utils/terminal_console.py
|
|
365
446
|
codebase_rag/utils/token_utils.py
|
|
366
447
|
codebase_rag/workspaces/__init__.py
|
|
367
448
|
codebase_rag/workspaces/cli.py
|
|
@@ -369,5 +450,6 @@ codebase_rag/workspaces/constants.py
|
|
|
369
450
|
codebase_rag/workspaces/models.py
|
|
370
451
|
codebase_rag/workspaces/storage.py
|
|
371
452
|
codec/__init__.py
|
|
453
|
+
codec/schema.proto
|
|
372
454
|
codec/schema_pb2.py
|
|
373
455
|
codec/schema_pb2.pyi
|