codegraph-engine 2.1.2__py3-none-any.whl → 2.1.7__py3-none-any.whl
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.
- codegraph/__init__.py +1 -1
- codegraph/agent_brain.py +1961 -0
- codegraph/agent_capabilities.py +3500 -0
- codegraph/agent_rules.py +530 -0
- codegraph/architecture.py +48 -5
- codegraph/binding_resolver.py +616 -0
- codegraph/cli.py +345 -5
- codegraph/config.py +2 -0
- codegraph/context.py +845 -93
- codegraph/database/__init__.py +58 -0
- codegraph/database/extractor.py +2956 -0
- codegraph/database/interrogation.py +1085 -0
- codegraph/database/models.py +310 -0
- codegraph/epistemic.py +95 -0
- codegraph/errors.py +7 -0
- codegraph/evidence/citations.py +22 -1
- codegraph/evidence_contract.py +455 -0
- codegraph/frameworks.py +372 -11
- codegraph/git.py +92 -10
- codegraph/graph/models.py +15 -0
- codegraph/graph/traversal.py +680 -121
- codegraph/indexing/__init__.py +15 -1
- codegraph/indexing/classifier.py +343 -58
- codegraph/indexing/indexer.py +1515 -141
- codegraph/indexing/models.py +75 -0
- codegraph/indexing/parser.py +1843 -70
- codegraph/indexing/scanner.py +4 -1
- codegraph/indexing/telemetry.py +326 -0
- codegraph/installer.py +1652 -0
- codegraph/interrogation.py +708 -122
- codegraph/mcp/server.py +525 -107
- codegraph/mcp_diagnostics.py +879 -0
- codegraph/models.py +14 -0
- codegraph/monorepo.py +922 -0
- codegraph/observability.py +113 -2
- codegraph/optimizer.py +647 -42
- codegraph/ranking.py +61 -16
- codegraph/resolver.py +2006 -77
- codegraph/resources/monitor.py +1 -1
- codegraph/retrieval_policy.py +96 -17
- codegraph/route_composer.py +363 -0
- codegraph/runtime/__init__.py +32 -0
- codegraph/runtime/ingestor.py +672 -0
- codegraph/runtime/models.py +130 -0
- codegraph/runtime/reconciliation.py +492 -0
- codegraph/search/__init__.py +2 -0
- codegraph/search/hybrid.py +572 -53
- codegraph/security/__init__.py +50 -2
- codegraph/security/paths.py +162 -8
- codegraph/security/redaction.py +633 -0
- codegraph/semantic_decorators.py +341 -0
- codegraph/target_resolver.py +6 -6
- codegraph/tool_selection_eval.py +1158 -0
- codegraph_engine-2.1.7.dist-info/METADATA +617 -0
- codegraph_engine-2.1.7.dist-info/RECORD +84 -0
- {codegraph_engine-2.1.2.dist-info → codegraph_engine-2.1.7.dist-info}/licenses/LICENSE +1 -1
- codegraph_engine-2.1.2.dist-info/METADATA +0 -336
- codegraph_engine-2.1.2.dist-info/RECORD +0 -63
- {codegraph_engine-2.1.2.dist-info → codegraph_engine-2.1.7.dist-info}/WHEEL +0 -0
- {codegraph_engine-2.1.2.dist-info → codegraph_engine-2.1.7.dist-info}/entry_points.txt +0 -0
- {codegraph_engine-2.1.2.dist-info → codegraph_engine-2.1.7.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"""Database Deep Intelligence package for CodeGraph."""
|
|
2
|
+
from .extractor import (
|
|
3
|
+
DatabaseExtractionResult,
|
|
4
|
+
detect_file_dialects,
|
|
5
|
+
extract_database_from_file,
|
|
6
|
+
has_potential_database_activity,
|
|
7
|
+
has_potential_orm_models,
|
|
8
|
+
parse_sql_statement,
|
|
9
|
+
)
|
|
10
|
+
from .interrogation import (
|
|
11
|
+
find_db_callers,
|
|
12
|
+
find_db_columns,
|
|
13
|
+
find_db_models,
|
|
14
|
+
find_db_queries,
|
|
15
|
+
find_db_readers,
|
|
16
|
+
find_db_relationships,
|
|
17
|
+
find_db_tables,
|
|
18
|
+
find_db_writers,
|
|
19
|
+
get_db_impact,
|
|
20
|
+
get_db_schema,
|
|
21
|
+
get_db_table,
|
|
22
|
+
)
|
|
23
|
+
from .models import (
|
|
24
|
+
DatabaseEntity,
|
|
25
|
+
DatabaseEntityKind,
|
|
26
|
+
DatabaseQueryFact,
|
|
27
|
+
MigrationFact,
|
|
28
|
+
build_db_canonical_id,
|
|
29
|
+
normalize_dialect,
|
|
30
|
+
normalize_schema_name,
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
__all__ = [
|
|
34
|
+
"DatabaseEntity",
|
|
35
|
+
"DatabaseEntityKind",
|
|
36
|
+
"DatabaseExtractionResult",
|
|
37
|
+
"DatabaseQueryFact",
|
|
38
|
+
"MigrationFact",
|
|
39
|
+
"build_db_canonical_id",
|
|
40
|
+
"detect_file_dialects",
|
|
41
|
+
"extract_database_from_file",
|
|
42
|
+
"find_db_callers",
|
|
43
|
+
"find_db_columns",
|
|
44
|
+
"find_db_models",
|
|
45
|
+
"find_db_queries",
|
|
46
|
+
"find_db_readers",
|
|
47
|
+
"find_db_relationships",
|
|
48
|
+
"find_db_tables",
|
|
49
|
+
"find_db_writers",
|
|
50
|
+
"get_db_impact",
|
|
51
|
+
"get_db_schema",
|
|
52
|
+
"get_db_table",
|
|
53
|
+
"has_potential_database_activity",
|
|
54
|
+
"has_potential_orm_models",
|
|
55
|
+
"normalize_dialect",
|
|
56
|
+
"normalize_schema_name",
|
|
57
|
+
"parse_sql_statement",
|
|
58
|
+
]
|