codegraphcontext 0.4.4__tar.gz → 0.4.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. {codegraphcontext-0.4.4/src/codegraphcontext.egg-info → codegraphcontext-0.4.6}/PKG-INFO +62 -34
  2. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/README.md +57 -30
  3. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/pyproject.toml +5 -4
  4. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/cli/cli_helpers.py +15 -3
  5. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/cli/config_manager.py +33 -3
  6. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/cli/main.py +2 -2
  7. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/cli/setup_wizard.py +20 -12
  8. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/__init__.py +28 -6
  9. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/cgc_bundle.py +3 -8
  10. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/database_falkordb.py +64 -19
  11. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/database_kuzu.py +54 -5
  12. codegraphcontext-0.4.6/src/codegraphcontext/core/database_nornic.py +204 -0
  13. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/watcher.py +92 -12
  14. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/server.py +116 -3
  15. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/code_finder.py +122 -66
  16. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/graph_builder.py +37 -7
  17. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/handlers/analysis_handlers.py +54 -17
  18. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/handlers/management_handlers.py +14 -3
  19. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/handlers/query_handlers.py +14 -4
  20. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/persistence/writer.py +37 -8
  21. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/pre_scan.py +12 -2
  22. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/resolution/calls.py +64 -5
  23. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/schema.py +3 -3
  24. codegraphcontext-0.4.6/src/codegraphcontext/tools/languages/css.py +84 -0
  25. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/dart.py +110 -16
  26. codegraphcontext-0.4.6/src/codegraphcontext/tools/languages/html.py +123 -0
  27. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/java.py +58 -29
  28. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/javascript.py +38 -0
  29. codegraphcontext-0.4.6/src/codegraphcontext/tools/languages/lua.py +410 -0
  30. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/php.py +26 -18
  31. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/python.py +37 -1
  32. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/swift.py +51 -4
  33. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/typescript.py +1 -1
  34. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/scip_indexer.py +4 -2
  35. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/tree_sitter_parser.py +12 -0
  36. codegraphcontext-0.4.6/src/codegraphcontext/utils/git_utils.py +25 -0
  37. codegraphcontext-0.4.6/src/codegraphcontext/utils/tool_limits.py +85 -0
  38. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/utils/tree_sitter_manager.py +3 -0
  39. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6/src/codegraphcontext.egg-info}/PKG-INFO +62 -34
  40. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext.egg-info/SOURCES.txt +8 -1
  41. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext.egg-info/requires.txt +5 -4
  42. codegraphcontext-0.4.6/tests/test_issue_806_fix.py +554 -0
  43. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/LICENSE +0 -0
  44. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/MANIFEST.in +0 -0
  45. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/setup.cfg +0 -0
  46. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/__init__.py +0 -0
  47. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/__main__.py +0 -0
  48. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/cli/__init__.py +0 -0
  49. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/cli/registry_commands.py +0 -0
  50. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/cli/setup_macos.py +0 -0
  51. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/cli/visualizer.py +0 -0
  52. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/bundle_registry.py +0 -0
  53. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/cgcignore.py +0 -0
  54. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/database.py +0 -0
  55. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/database_falkordb_remote.py +0 -0
  56. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/falkor_worker.py +0 -0
  57. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/core/jobs.py +0 -0
  58. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/prompts.py +0 -0
  59. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tool_definitions.py +0 -0
  60. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/__init__.py +0 -0
  61. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/advanced_language_query_tool.py +0 -0
  62. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/handlers/indexing_handlers.py +0 -0
  63. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/handlers/watcher_handlers.py +0 -0
  64. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/__init__.py +0 -0
  65. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/constants.py +0 -0
  66. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/discovery.py +0 -0
  67. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/persistence/__init__.py +0 -0
  68. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/pipeline.py +0 -0
  69. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/resolution/__init__.py +0 -0
  70. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/resolution/inheritance.py +0 -0
  71. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/sanitize.py +0 -0
  72. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/schema_contract.py +0 -0
  73. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/indexing/scip_pipeline.py +0 -0
  74. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/c.py +0 -0
  75. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/cpp.py +0 -0
  76. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/csharp.py +0 -0
  77. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/elixir.py +0 -0
  78. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/go.py +0 -0
  79. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/haskell.py +0 -0
  80. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/kotlin.py +0 -0
  81. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/perl.py +0 -0
  82. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/ruby.py +0 -0
  83. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/rust.py +0 -0
  84. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/scala.py +0 -0
  85. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/languages/typescriptjsx.py +0 -0
  86. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/package_resolver.py +0 -0
  87. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/c_toolkit.py +0 -0
  88. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/cpp_toolkit.py +0 -0
  89. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/csharp_toolkit.py +0 -0
  90. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/dart_toolkit.py +0 -0
  91. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/go_toolkit.py +0 -0
  92. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/haskell_toolkit.py +0 -0
  93. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/java_toolkit.py +0 -0
  94. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/javascript_toolkit.py +0 -0
  95. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/perl_toolkit.py +0 -0
  96. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/python_toolkit.py +0 -0
  97. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/ruby_toolkit.py +0 -0
  98. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/rust_toolkit.py +0 -0
  99. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/scala_toolkit.py +0 -0
  100. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/swift_toolkit.py +0 -0
  101. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/query_tool_languages/typescript_toolkit.py +0 -0
  102. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/scip_pb2.py +0 -0
  103. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/tools/system.py +0 -0
  104. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/utils/debug_log.py +0 -0
  105. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/utils/path_ignore.py +0 -0
  106. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/utils/repo_path.py +0 -0
  107. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/utils/visualize_graph.py +0 -0
  108. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/assets/__vite-browser-external-9wXp6ZBx.js +0 -0
  109. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/assets/function-calls-BtRHrqa2.png +0 -0
  110. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/assets/graph-total-D1fBAugo.png +0 -0
  111. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/assets/hero-graph-2voMJp2a.jpg +0 -0
  112. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/assets/hierarchy-DGADo0YT.png +0 -0
  113. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/assets/index-BJT3EMmQ.js +0 -0
  114. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/assets/index-DjDPHWki.css +0 -0
  115. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/assets/parser.worker-CZgm11E5.js +0 -0
  116. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/assets/tree-sitter-qKYAACSa.wasm +0 -0
  117. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/favicon.ico +0 -0
  118. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/index.html +0 -0
  119. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/placeholder.svg +0 -0
  120. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/preview-image.png +0 -0
  121. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/robots.txt +0 -0
  122. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c.wasm +0 -0
  123. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c_sharp.wasm +0 -0
  124. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-core.js +0 -0
  125. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-cpp.wasm +0 -0
  126. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-dart.wasm +0 -0
  127. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-go.wasm +0 -0
  128. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-java.wasm +0 -0
  129. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-javascript.wasm +0 -0
  130. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-kotlin.wasm +0 -0
  131. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-perl.wasm +0 -0
  132. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-php.wasm +0 -0
  133. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-python.wasm +0 -0
  134. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-ruby.wasm +0 -0
  135. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-rust.wasm +0 -0
  136. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-swift.wasm +0 -0
  137. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-tsx.wasm +0 -0
  138. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter-typescript.wasm +0 -0
  139. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/tree-sitter.wasm +0 -0
  140. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.js +0 -0
  141. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.wasm +0 -0
  142. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext/viz/server.py +0 -0
  143. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext.egg-info/dependency_links.txt +0 -0
  144. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext.egg-info/entry_points.txt +0 -0
  145. {codegraphcontext-0.4.4 → codegraphcontext-0.4.6}/src/codegraphcontext.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codegraphcontext
3
- Version: 0.4.4
3
+ Version: 0.4.6
4
4
  Summary: An MCP server that indexes local code into a graph database to provide context to AI assistants.
5
5
  Author-email: Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
6
6
  License: MIT License
@@ -44,7 +44,7 @@ Requires-Dist: rich>=13.7.0
44
44
  Requires-Dist: inquirerpy>=0.3.4
45
45
  Requires-Dist: python-dotenv>=1.0.0
46
46
  Requires-Dist: tree-sitter>=0.21.0; python_version != "3.13"
47
- Requires-Dist: tree-sitter-language-pack>=0.6.0; python_version != "3.13"
47
+ Requires-Dist: tree-sitter-language-pack!=1.6.3,>=0.6.0; python_version != "3.13"
48
48
  Requires-Dist: tree-sitter-c-sharp>=0.21.0; python_version != "3.13"
49
49
  Requires-Dist: pyyaml
50
50
  Requires-Dist: nbformat
@@ -52,13 +52,14 @@ Requires-Dist: nbconvert>=7.16.6
52
52
  Requires-Dist: pathspec>=0.12.1
53
53
  Requires-Dist: falkordb>=0.1.0
54
54
  Requires-Dist: requests>=2.28.0
55
+ Requires-Dist: protobuf<3.21,>=3.20
55
56
  Requires-Dist: falkordblite>=0.1.0; sys_platform != "win32" and python_version >= "3.12"
56
- Requires-Dist: kuzu>=0.4.0; sys_platform == "win32" or (sys_platform != "win32" and python_version >= "3.10" and python_version < "3.12")
57
+ Requires-Dist: real_ladybug; sys_platform == "win32" or (sys_platform != "win32" and python_version >= "3.10")
57
58
  Requires-Dist: fastapi>=0.100.0
58
59
  Requires-Dist: uvicorn>=0.22.0
59
60
  Provides-Extra: parsing
60
61
  Requires-Dist: tree-sitter>=0.21.0; python_version != "3.13" and extra == "parsing"
61
- Requires-Dist: tree-sitter-language-pack>=0.6.0; python_version != "3.13" and extra == "parsing"
62
+ Requires-Dist: tree-sitter-language-pack!=1.6.3,>=0.6.0; python_version != "3.13" and extra == "parsing"
62
63
  Requires-Dist: tree-sitter-c-sharp>=0.21.0; python_version != "3.13" and extra == "parsing"
63
64
  Provides-Extra: dev
64
65
  Requires-Dist: pytest>=7.4.0; extra == "dev"
@@ -165,7 +166,7 @@ A powerful **MCP server** and **CLI toolkit** that indexes local code into a gra
165
166
  ---
166
167
 
167
168
  ## Project Details
168
- - **Version:** 0.4.4
169
+ - **Version:** 0.4.6
169
170
  - **Authors:** Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
170
171
  - **License:** MIT License (See [LICENSE](LICENSE) for details)
171
172
  - **Website:** [CodeGraphContext](http://codegraphcontext.vercel.app/)
@@ -194,11 +195,12 @@ A powerful **MCP server** and **CLI toolkit** that indexes local code into a gra
194
195
  - **Code Indexing:** Analyzes code and builds a knowledge graph of its components.
195
196
  - **Relationship Analysis:** Query for callers, callees, class hierarchies, call chains and more.
196
197
  - **Pre-indexed Bundles:** Load famous repositories instantly with `.cgc` bundles - no indexing required! ([Learn more](docs/BUNDLES.md))
197
- - **Live File Watching:** Watch directories for changes and automatically update the graph in real-time (`cgc watch`).
198
+ - **Live File Watching:** Watch directories for changes and automatically update the graph in real-time (`codegraphcontext watch`).
198
199
  - **Interactive Setup:** A user-friendly command-line wizard for easy setup.
199
200
  - **Dual Mode:** Works as a standalone **CLI toolkit** for developers and as an **MCP server** for AI agents.
200
- - **Multi-Language Support:** Full support for 14 programming languages.
201
- - **Flexible Database Backend:** KùzuDB (default on Windows), FalkorDB Lite (typical embedded default on Unix when installed), FalkorDB Remote, or Neo4j (all platforms via Docker/native).
201
+ - **Multi-Language Support:** Full support for 15 programming languages.
202
+ - **Flexible Database Backend:** LadybugDB (Default), FalkorDB Lite (Typical Unix default), FalkorDB Remote, Nornic DB, or Neo4j (all platforms via Docker/native).
203
+
202
204
 
203
205
  ---
204
206
 
@@ -212,7 +214,7 @@ CodeGraphContext provides comprehensive parsing and analysis for the following l
212
214
  | ☕ | **Java** | 🏗️ | **C / C++** | #️⃣ | **C#** |
213
215
  | 🐹 | **Go** | 🦀 | **Rust** | 💎 | **Ruby** |
214
216
  | 🐘 | **PHP** | 🍎 | **Swift** | 🎨 | **Kotlin** |
215
- | 🎯 | **Dart** | 🐪 | **Perl** | | |
217
+ | 🎯 | **Dart** | 🐪 | **Perl** | 🌙 | **Lua** |
216
218
 
217
219
  Each language parser extracts functions, classes, methods, parameters, inheritance relationships, function calls, and imports to build a comprehensive code graph.
218
220
 
@@ -222,13 +224,13 @@ Each language parser extracts functions, classes, methods, parameters, inheritan
222
224
 
223
225
  CodeGraphContext supports multiple graph database backends to suit your environment:
224
226
 
225
- | Feature | KùzuDB | FalkorDB Lite | Neo4j |
227
+ | Feature | LadybugDB | FalkorDB Lite | Neo4j / Nornic DB |
226
228
  | :--- | :--- | :--- | :--- |
227
- | **Typical default** | **Windows** (embedded, when `kuzu` is installed) | **Unix** (Python 3.12+, when `falkordblite` works) | When explicitly configured |
229
+ | **Typical default** | **Standard Default** (embedded, when `real_ladybug` is installed) | **Unix** (Python 3.12+, when `falkordblite` works) | When explicitly configured |
228
230
  | **Setup** | Zero-config / Embedded | Zero-config / In-process | Docker / External |
229
231
  | **Platform** | **All (Windows Native, macOS, Linux)** | Unix-only (Linux/macOS/WSL) | All Platforms |
230
232
  | **Use Case** | Desktop, IDE, Local development | Specialized Unix development | Enterprise, Massive graphs |
231
- | **Requirement**| `pip install kuzu` | `pip install falkordblite` | Neo4j Server / Docker |
233
+ | **Requirement**| `pip install real_ladybug` | `pip install falkordblite` | Neo4j Server / Docker / Nornic Cloud |
232
234
  | **Speed** | ⚡ Extremely Fast | ⚡ Fast | 🚀 Scalable |
233
235
  | **Persistence**| Yes (to disk) | Yes (to disk) | Yes (to disk) |
234
236
 
@@ -273,7 +275,7 @@ _If you’re using CodeGraphContext in your project, feel free to open a PR and
273
275
  pip install codegraphcontext
274
276
  ```
275
277
 
276
- ### If 'cgc' command isn't found, run our one-line fix:
278
+ ### If 'codegraphcontext' command isn't found, run our one-line fix:
277
279
  ```
278
280
  curl -sSL https://raw.githubusercontent.com/CodeGraphContext/CodeGraphContext/main/scripts/post_install_fix.sh | bash
279
281
  ```
@@ -305,9 +307,9 @@ Use CodeGraphContext as an **MCP server** for AI assistants:
305
307
 
306
308
  1. **Install:** `pip install codegraphcontext`
307
309
  <details>
308
- <summary>⚙️ Troubleshooting: In case, command <code>cgc</code> not found</summary>
309
-
310
- If you encounter <i>"cgc: command not found"</i> after installation, run the PATH fix script:
310
+ <summary>⚙️ Troubleshooting: In case, command <code>codegraphcontext</code> not found</summary>
311
+ <br>
312
+ If you encounter <i>"codegraphcontext: command not found"</i> after installation, run the PATH fix script:
311
313
 
312
314
  **Linux/Mac:**
313
315
  ```bash
@@ -339,9 +341,9 @@ Use CodeGraphContext as an **MCP server** for AI assistants:
339
341
 
340
342
  2. **Database Setup (Automatic)**
341
343
 
342
- - **KùzuDB (default on Windows):** Runs natively on Windows, macOS, and Linux. On Windows it is the usual embedded choice; `pip install kuzu` if needed.
343
- - **FalkorDB Lite (typical default on Unix):** When Python 3.12+ and `falkordblite` are available on Unix/macOS/WSL, the embedded backend prefers FalkorDB Lite; otherwise KùzuDB is used.
344
- - **Neo4j (Alternative):** To use Neo4j instead, or if you prefer a server-based approach, run: `cgc neo4j setup`
344
+ - **LadybugDB (Default):** Runs natively on Windows, macOS, and Linux. It is the primary embedded choice; `pip install real_ladybug` if needed.
345
+ - **FalkorDB Lite (High Performance Unix):** When Python 3.12+ and `falkordblite` are available on Unix/macOS/WSL, the embedded backend prefers FalkorDB Lite for speed; otherwise LadybugDB is used.
346
+ - **Neo4j (Alternative):** To use Neo4j instead, or if you prefer a server-based approach, run: `codegraphcontext neo4j setup`
345
347
 
346
348
  ---
347
349
 
@@ -350,25 +352,25 @@ Use CodeGraphContext as an **MCP server** for AI assistants:
350
352
  **Start using immediately with CLI commands:**
351
353
  ```bash
352
354
  # Index your current directory
353
- cgc index .
355
+ codegraphcontext index .
354
356
 
355
357
  # List all indexed repositories
356
- cgc list
358
+ codegraphcontext list
357
359
 
358
360
  # Analyze who calls a function
359
- cgc analyze callers my_function
361
+ codegraphcontext analyze callers my_function
360
362
 
361
363
  # Find complex code
362
- cgc analyze complexity --threshold 10
364
+ codegraphcontext analyze complexity --threshold 10
363
365
 
364
366
  # Find dead code
365
- cgc analyze dead-code
367
+ codegraphcontext analyze dead-code
366
368
 
367
369
  # Watch for live changes (optional)
368
- cgc watch .
370
+ codegraphcontext watch .
369
371
 
370
372
  # See all commands
371
- cgc help
373
+ codegraphcontext help
372
374
  ```
373
375
 
374
376
  **See the full [CLI Commands Guide](docs/CLI_COMPLETE_REFERENCE.md) for all available commands and usage scenarios.**
@@ -384,13 +386,13 @@ CodeGraphContext can generate stunning, interactive knowledge graphs of your cod
384
386
 
385
387
  ```bash
386
388
  # Visualize function calls
387
- cgc analyze calls my_function --viz
389
+ codegraphcontext analyze calls my_function --viz
388
390
 
389
391
  # Explore class hierarchies
390
- cgc analyze tree MyClass --viz
392
+ codegraphcontext analyze tree MyClass --viz
391
393
 
392
394
  # Visualize search results
393
- cgc find pattern "Auth" --viz
395
+ codegraphcontext find pattern "Auth" --viz
394
396
  ```
395
397
 
396
398
 
@@ -402,7 +404,7 @@ cgc find pattern "Auth" --viz
402
404
  1. **Setup:** Run the MCP setup wizard to configure your IDE/AI assistant:
403
405
 
404
406
  ```bash
405
- cgc mcp setup
407
+ codegraphcontext mcp setup
406
408
  ```
407
409
 
408
410
  The wizard can automatically detect and configure:
@@ -417,14 +419,14 @@ cgc find pattern "Auth" --viz
417
419
  * Amazon Q Developer
418
420
  * Kiro
419
421
 
420
- Upon successful configuration, `cgc mcp setup` will generate and place the necessary configuration files:
422
+ Upon successful configuration, `codegraphcontext mcp setup` will generate and place the necessary configuration files:
421
423
  * It creates an `mcp.json` file in your current directory for reference.
422
424
  * It stores your database credentials securely in `~/.codegraphcontext/.env`.
423
425
  * It updates the settings file of your chosen IDE/CLI (e.g., `.claude.json` or VS Code's `settings.json`).
424
426
 
425
427
  2. **Start:** Launch the MCP server:
426
428
  ```bash
427
- cgc mcp start
429
+ codegraphcontext mcp start
428
430
  ```
429
431
 
430
432
  3. **Use:** Now interact with your codebase through your AI assistant using natural language! See examples below.
@@ -453,7 +455,7 @@ You can tell CodeGraphContext to ignore specific files and directories by creati
453
455
 
454
456
  ## MCP Client Configuration
455
457
 
456
- The `cgc mcp setup` command attempts to automatically configure your IDE/CLI. If you choose not to use the automatic setup, or if your tool is not supported, you can configure it manually.
458
+ The `codegraphcontext mcp setup` command attempts to automatically configure your IDE/CLI. If you choose not to use the automatic setup, or if your tool is not supported, you can configure it manually.
457
459
 
458
460
  Add the following server configuration to your client's settings file (e.g., VS Code's `settings.json` or `.claude.json`):
459
461
 
@@ -461,8 +463,34 @@ Add the following server configuration to your client's settings file (e.g., VS
461
463
  {
462
464
  "mcpServers": {
463
465
  "CodeGraphContext": {
464
- "command": "cgc",
466
+ "command": "codegraphcontext",
467
+ "args": [
468
+ "mcp",
469
+ "start"
470
+ ],
471
+ "env": {
472
+ "NEO4J_URI": "YOUR_NEO4J_URI",
473
+ "NEO4J_USERNAME": "YOUR_NEO4J_USERNAME",
474
+ "NEO4J_PASSWORD": "YOUR_NEO4J_PASSWORD"
475
+ },
476
+ "disabled": false,
477
+ "alwaysAllow": []
478
+ }
479
+ }
480
+ }
481
+ ```
482
+
483
+ #### If installed via pipx
484
+
485
+ If you installed CodeGraphContext using `pipx`, use the following configuration instead:
486
+ ```json
487
+ {
488
+ "mcpServers": {
489
+ "CodeGraphContext": {
490
+ "command": "pipx",
465
491
  "args": [
492
+ "run",
493
+ "codegraphcontext",
466
494
  "mcp",
467
495
  "start"
468
496
  ],
@@ -97,7 +97,7 @@ A powerful **MCP server** and **CLI toolkit** that indexes local code into a gra
97
97
  ---
98
98
 
99
99
  ## Project Details
100
- - **Version:** 0.4.4
100
+ - **Version:** 0.4.6
101
101
  - **Authors:** Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
102
102
  - **License:** MIT License (See [LICENSE](LICENSE) for details)
103
103
  - **Website:** [CodeGraphContext](http://codegraphcontext.vercel.app/)
@@ -126,11 +126,12 @@ A powerful **MCP server** and **CLI toolkit** that indexes local code into a gra
126
126
  - **Code Indexing:** Analyzes code and builds a knowledge graph of its components.
127
127
  - **Relationship Analysis:** Query for callers, callees, class hierarchies, call chains and more.
128
128
  - **Pre-indexed Bundles:** Load famous repositories instantly with `.cgc` bundles - no indexing required! ([Learn more](docs/BUNDLES.md))
129
- - **Live File Watching:** Watch directories for changes and automatically update the graph in real-time (`cgc watch`).
129
+ - **Live File Watching:** Watch directories for changes and automatically update the graph in real-time (`codegraphcontext watch`).
130
130
  - **Interactive Setup:** A user-friendly command-line wizard for easy setup.
131
131
  - **Dual Mode:** Works as a standalone **CLI toolkit** for developers and as an **MCP server** for AI agents.
132
- - **Multi-Language Support:** Full support for 14 programming languages.
133
- - **Flexible Database Backend:** KùzuDB (default on Windows), FalkorDB Lite (typical embedded default on Unix when installed), FalkorDB Remote, or Neo4j (all platforms via Docker/native).
132
+ - **Multi-Language Support:** Full support for 15 programming languages.
133
+ - **Flexible Database Backend:** LadybugDB (Default), FalkorDB Lite (Typical Unix default), FalkorDB Remote, Nornic DB, or Neo4j (all platforms via Docker/native).
134
+
134
135
 
135
136
  ---
136
137
 
@@ -144,7 +145,7 @@ CodeGraphContext provides comprehensive parsing and analysis for the following l
144
145
  | ☕ | **Java** | 🏗️ | **C / C++** | #️⃣ | **C#** |
145
146
  | 🐹 | **Go** | 🦀 | **Rust** | 💎 | **Ruby** |
146
147
  | 🐘 | **PHP** | 🍎 | **Swift** | 🎨 | **Kotlin** |
147
- | 🎯 | **Dart** | 🐪 | **Perl** | | |
148
+ | 🎯 | **Dart** | 🐪 | **Perl** | 🌙 | **Lua** |
148
149
 
149
150
  Each language parser extracts functions, classes, methods, parameters, inheritance relationships, function calls, and imports to build a comprehensive code graph.
150
151
 
@@ -154,13 +155,13 @@ Each language parser extracts functions, classes, methods, parameters, inheritan
154
155
 
155
156
  CodeGraphContext supports multiple graph database backends to suit your environment:
156
157
 
157
- | Feature | KùzuDB | FalkorDB Lite | Neo4j |
158
+ | Feature | LadybugDB | FalkorDB Lite | Neo4j / Nornic DB |
158
159
  | :--- | :--- | :--- | :--- |
159
- | **Typical default** | **Windows** (embedded, when `kuzu` is installed) | **Unix** (Python 3.12+, when `falkordblite` works) | When explicitly configured |
160
+ | **Typical default** | **Standard Default** (embedded, when `real_ladybug` is installed) | **Unix** (Python 3.12+, when `falkordblite` works) | When explicitly configured |
160
161
  | **Setup** | Zero-config / Embedded | Zero-config / In-process | Docker / External |
161
162
  | **Platform** | **All (Windows Native, macOS, Linux)** | Unix-only (Linux/macOS/WSL) | All Platforms |
162
163
  | **Use Case** | Desktop, IDE, Local development | Specialized Unix development | Enterprise, Massive graphs |
163
- | **Requirement**| `pip install kuzu` | `pip install falkordblite` | Neo4j Server / Docker |
164
+ | **Requirement**| `pip install real_ladybug` | `pip install falkordblite` | Neo4j Server / Docker / Nornic Cloud |
164
165
  | **Speed** | ⚡ Extremely Fast | ⚡ Fast | 🚀 Scalable |
165
166
  | **Persistence**| Yes (to disk) | Yes (to disk) | Yes (to disk) |
166
167
 
@@ -205,7 +206,7 @@ _If you’re using CodeGraphContext in your project, feel free to open a PR and
205
206
  pip install codegraphcontext
206
207
  ```
207
208
 
208
- ### If 'cgc' command isn't found, run our one-line fix:
209
+ ### If 'codegraphcontext' command isn't found, run our one-line fix:
209
210
  ```
210
211
  curl -sSL https://raw.githubusercontent.com/CodeGraphContext/CodeGraphContext/main/scripts/post_install_fix.sh | bash
211
212
  ```
@@ -237,9 +238,9 @@ Use CodeGraphContext as an **MCP server** for AI assistants:
237
238
 
238
239
  1. **Install:** `pip install codegraphcontext`
239
240
  <details>
240
- <summary>⚙️ Troubleshooting: In case, command <code>cgc</code> not found</summary>
241
-
242
- If you encounter <i>"cgc: command not found"</i> after installation, run the PATH fix script:
241
+ <summary>⚙️ Troubleshooting: In case, command <code>codegraphcontext</code> not found</summary>
242
+ <br>
243
+ If you encounter <i>"codegraphcontext: command not found"</i> after installation, run the PATH fix script:
243
244
 
244
245
  **Linux/Mac:**
245
246
  ```bash
@@ -271,9 +272,9 @@ Use CodeGraphContext as an **MCP server** for AI assistants:
271
272
 
272
273
  2. **Database Setup (Automatic)**
273
274
 
274
- - **KùzuDB (default on Windows):** Runs natively on Windows, macOS, and Linux. On Windows it is the usual embedded choice; `pip install kuzu` if needed.
275
- - **FalkorDB Lite (typical default on Unix):** When Python 3.12+ and `falkordblite` are available on Unix/macOS/WSL, the embedded backend prefers FalkorDB Lite; otherwise KùzuDB is used.
276
- - **Neo4j (Alternative):** To use Neo4j instead, or if you prefer a server-based approach, run: `cgc neo4j setup`
275
+ - **LadybugDB (Default):** Runs natively on Windows, macOS, and Linux. It is the primary embedded choice; `pip install real_ladybug` if needed.
276
+ - **FalkorDB Lite (High Performance Unix):** When Python 3.12+ and `falkordblite` are available on Unix/macOS/WSL, the embedded backend prefers FalkorDB Lite for speed; otherwise LadybugDB is used.
277
+ - **Neo4j (Alternative):** To use Neo4j instead, or if you prefer a server-based approach, run: `codegraphcontext neo4j setup`
277
278
 
278
279
  ---
279
280
 
@@ -282,25 +283,25 @@ Use CodeGraphContext as an **MCP server** for AI assistants:
282
283
  **Start using immediately with CLI commands:**
283
284
  ```bash
284
285
  # Index your current directory
285
- cgc index .
286
+ codegraphcontext index .
286
287
 
287
288
  # List all indexed repositories
288
- cgc list
289
+ codegraphcontext list
289
290
 
290
291
  # Analyze who calls a function
291
- cgc analyze callers my_function
292
+ codegraphcontext analyze callers my_function
292
293
 
293
294
  # Find complex code
294
- cgc analyze complexity --threshold 10
295
+ codegraphcontext analyze complexity --threshold 10
295
296
 
296
297
  # Find dead code
297
- cgc analyze dead-code
298
+ codegraphcontext analyze dead-code
298
299
 
299
300
  # Watch for live changes (optional)
300
- cgc watch .
301
+ codegraphcontext watch .
301
302
 
302
303
  # See all commands
303
- cgc help
304
+ codegraphcontext help
304
305
  ```
305
306
 
306
307
  **See the full [CLI Commands Guide](docs/CLI_COMPLETE_REFERENCE.md) for all available commands and usage scenarios.**
@@ -316,13 +317,13 @@ CodeGraphContext can generate stunning, interactive knowledge graphs of your cod
316
317
 
317
318
  ```bash
318
319
  # Visualize function calls
319
- cgc analyze calls my_function --viz
320
+ codegraphcontext analyze calls my_function --viz
320
321
 
321
322
  # Explore class hierarchies
322
- cgc analyze tree MyClass --viz
323
+ codegraphcontext analyze tree MyClass --viz
323
324
 
324
325
  # Visualize search results
325
- cgc find pattern "Auth" --viz
326
+ codegraphcontext find pattern "Auth" --viz
326
327
  ```
327
328
 
328
329
 
@@ -334,7 +335,7 @@ cgc find pattern "Auth" --viz
334
335
  1. **Setup:** Run the MCP setup wizard to configure your IDE/AI assistant:
335
336
 
336
337
  ```bash
337
- cgc mcp setup
338
+ codegraphcontext mcp setup
338
339
  ```
339
340
 
340
341
  The wizard can automatically detect and configure:
@@ -349,14 +350,14 @@ cgc find pattern "Auth" --viz
349
350
  * Amazon Q Developer
350
351
  * Kiro
351
352
 
352
- Upon successful configuration, `cgc mcp setup` will generate and place the necessary configuration files:
353
+ Upon successful configuration, `codegraphcontext mcp setup` will generate and place the necessary configuration files:
353
354
  * It creates an `mcp.json` file in your current directory for reference.
354
355
  * It stores your database credentials securely in `~/.codegraphcontext/.env`.
355
356
  * It updates the settings file of your chosen IDE/CLI (e.g., `.claude.json` or VS Code's `settings.json`).
356
357
 
357
358
  2. **Start:** Launch the MCP server:
358
359
  ```bash
359
- cgc mcp start
360
+ codegraphcontext mcp start
360
361
  ```
361
362
 
362
363
  3. **Use:** Now interact with your codebase through your AI assistant using natural language! See examples below.
@@ -385,7 +386,7 @@ You can tell CodeGraphContext to ignore specific files and directories by creati
385
386
 
386
387
  ## MCP Client Configuration
387
388
 
388
- The `cgc mcp setup` command attempts to automatically configure your IDE/CLI. If you choose not to use the automatic setup, or if your tool is not supported, you can configure it manually.
389
+ The `codegraphcontext mcp setup` command attempts to automatically configure your IDE/CLI. If you choose not to use the automatic setup, or if your tool is not supported, you can configure it manually.
389
390
 
390
391
  Add the following server configuration to your client's settings file (e.g., VS Code's `settings.json` or `.claude.json`):
391
392
 
@@ -393,8 +394,34 @@ Add the following server configuration to your client's settings file (e.g., VS
393
394
  {
394
395
  "mcpServers": {
395
396
  "CodeGraphContext": {
396
- "command": "cgc",
397
+ "command": "codegraphcontext",
398
+ "args": [
399
+ "mcp",
400
+ "start"
401
+ ],
402
+ "env": {
403
+ "NEO4J_URI": "YOUR_NEO4J_URI",
404
+ "NEO4J_USERNAME": "YOUR_NEO4J_USERNAME",
405
+ "NEO4J_PASSWORD": "YOUR_NEO4J_PASSWORD"
406
+ },
407
+ "disabled": false,
408
+ "alwaysAllow": []
409
+ }
410
+ }
411
+ }
412
+ ```
413
+
414
+ #### If installed via pipx
415
+
416
+ If you installed CodeGraphContext using `pipx`, use the following configuration instead:
417
+ ```json
418
+ {
419
+ "mcpServers": {
420
+ "CodeGraphContext": {
421
+ "command": "pipx",
397
422
  "args": [
423
+ "run",
424
+ "codegraphcontext",
398
425
  "mcp",
399
426
  "start"
400
427
  ],
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "codegraphcontext"
3
- version = "0.4.4"
3
+ version = "0.4.6"
4
4
  description = "An MCP server that indexes local code into a graph database to provide context to AI assistants."
5
5
  authors = [{ name = "Shashank Shekhar Singh", email = "shashankshekharsingh1205@gmail.com" }]
6
6
  readme = "README.md"
@@ -23,7 +23,7 @@ dependencies = [
23
23
  "inquirerpy>=0.3.4",
24
24
  "python-dotenv>=1.0.0",
25
25
  "tree-sitter>=0.21.0; python_version != '3.13'",
26
- "tree-sitter-language-pack>=0.6.0; python_version != '3.13'",
26
+ "tree-sitter-language-pack>=0.6.0,!=1.6.3; python_version != '3.13'",
27
27
  "tree-sitter-c-sharp>=0.21.0; python_version != '3.13'",
28
28
  "pyyaml",
29
29
  "nbformat",
@@ -31,8 +31,9 @@ dependencies = [
31
31
  "pathspec>=0.12.1",
32
32
  "falkordb>=0.1.0",
33
33
  "requests>=2.28.0",
34
+ "protobuf>=3.20,<3.21",
34
35
  "falkordblite>=0.1.0; sys_platform != 'win32' and python_version >= '3.12'",
35
- "kuzu>=0.4.0; sys_platform == 'win32' or (sys_platform != 'win32' and python_version >= '3.10' and python_version < '3.12')",
36
+ "real_ladybug; sys_platform == 'win32' or (sys_platform != 'win32' and python_version >= '3.10')",
36
37
  "fastapi>=0.100.0",
37
38
  "uvicorn>=0.22.0"
38
39
  ]
@@ -40,7 +41,7 @@ dependencies = [
40
41
  [project.optional-dependencies]
41
42
  parsing = [
42
43
  "tree-sitter>=0.21.0; python_version != '3.13'",
43
- "tree-sitter-language-pack>=0.6.0; python_version != '3.13'",
44
+ "tree-sitter-language-pack>=0.6.0,!=1.6.3; python_version != '3.13'",
44
45
  "tree-sitter-c-sharp>=0.21.0; python_version != '3.13'",
45
46
  ]
46
47
  dev = [
@@ -721,19 +721,31 @@ def watch_helper(path: str, context: Optional[str] = None):
721
721
  # Add the directory to watch
722
722
  if is_indexed:
723
723
  console.print("[green]✓[/green] Already indexed (no initial scan needed)")
724
- watcher.watch_directory(str(path_obj), perform_initial_scan=False)
724
+ watcher.watch_directory(
725
+ str(path_obj),
726
+ perform_initial_scan=False,
727
+ cgcignore_path=ctx.cgcignore_path,
728
+ )
725
729
  else:
726
730
  console.print("[yellow]⚠[/yellow] Not indexed yet. Performing initial scan...")
727
731
 
728
732
  # Index the repository first (like MCP does)
729
733
  async def do_index():
730
- await graph_builder.build_graph_from_path_async(path_obj, is_dependency=False)
734
+ await graph_builder.build_graph_from_path_async(
735
+ path_obj,
736
+ is_dependency=False,
737
+ cgcignore_path=ctx.cgcignore_path,
738
+ )
731
739
 
732
740
  asyncio.run(do_index())
733
741
  console.print("[green]✓[/green] Initial scan complete")
734
742
 
735
743
  # Now start watching (without another scan)
736
- watcher.watch_directory(str(path_obj), perform_initial_scan=False)
744
+ watcher.watch_directory(
745
+ str(path_obj),
746
+ perform_initial_scan=False,
747
+ cgcignore_path=ctx.cgcignore_path,
748
+ )
737
749
 
738
750
  console.print("[bold green]👀 Monitoring for file changes...[/bold green] (Press Ctrl+C to stop)")
739
751
  console.print("[dim]💡 Tip: Open a new terminal window to continue working[/dim]\n")
@@ -19,7 +19,10 @@ CONFIG_DIR = Path.home() / ".codegraphcontext"
19
19
  CONFIG_FILE = CONFIG_DIR / ".env"
20
20
 
21
21
  # Database credential keys (stored in same .env file but not managed as config)
22
- DATABASE_CREDENTIAL_KEYS = {"NEO4J_URI", "NEO4J_USERNAME", "NEO4J_PASSWORD", "NEO4J_DATABASE"}
22
+ DATABASE_CREDENTIAL_KEYS = {
23
+ "NEO4J_URI", "NEO4J_USERNAME", "NEO4J_PASSWORD", "NEO4J_DATABASE",
24
+ "NORNIC_URI", "NORNIC_USERNAME", "NORNIC_PASSWORD", "NORNIC_DATABASE"
25
+ }
23
26
 
24
27
  # Default configuration values
25
28
  DEFAULT_CONFIG = {
@@ -47,11 +50,16 @@ DEFAULT_CONFIG = {
47
50
  "SCIP_INDEXER": "false",
48
51
  "SCIP_LANGUAGES": "python,typescript,go,rust,java",
49
52
  "SKIP_EXTERNAL_RESOLUTION": "false",
53
+ # 0 = unlimited; any positive integer caps MCP tool response size.
54
+ "MAX_TOOL_RESPONSE_TOKENS": "0",
55
+ # JSON object mapping tool names to integer result-count limits.
56
+ # Example: {"find_code": 20, "analyze_code_relationships": 10, "find_dead_code": 30}
57
+ "TOOL_RESULT_LIMITS": "{}",
50
58
  }
51
59
 
52
60
  # Configuration key descriptions
53
61
  CONFIG_DESCRIPTIONS = {
54
- "DEFAULT_DATABASE": "Default database backend (neo4j|falkordb|kuzudb)",
62
+ "DEFAULT_DATABASE": "Default database backend (neo4j|falkordb|kuzudb|nornic)",
55
63
  "FALKORDB_PATH": "Path to FalkorDB database file",
56
64
  "FALKORDB_SOCKET_PATH": "Path to FalkorDB Unix socket",
57
65
  "INDEX_VARIABLES": "Index variable nodes in the graph (lighter graph if false)",
@@ -74,11 +82,13 @@ CONFIG_DESCRIPTIONS = {
74
82
  "SCIP_INDEXER": "Use SCIP-based indexing for higher accuracy call/inheritance resolution (requires scip-<lang> tools installed)",
75
83
  "SCIP_LANGUAGES": "Comma-separated languages to index via SCIP when SCIP_INDEXER=true (python,typescript,go,rust,java)",
76
84
  "SKIP_EXTERNAL_RESOLUTION": "Skip resolution attempts for external library method calls (recommended for enterprise large Java/Spring codebases)",
85
+ "MAX_TOOL_RESPONSE_TOKENS": "Maximum tokens per MCP tool response (0 = unlimited). Truncates oversized payloads and appends a notice.",
86
+ "TOOL_RESULT_LIMITS": "JSON object mapping tool names to max result counts, e.g. {\"find_code\": 20, \"analyze_code_relationships\": 10}. Missing keys use built-in defaults.",
77
87
  }
78
88
 
79
89
  # Valid values for each config key
80
90
  CONFIG_VALIDATORS = {
81
- "DEFAULT_DATABASE": ["neo4j", "falkordb", "falkordb-remote", "kuzudb"],
91
+ "DEFAULT_DATABASE": ["neo4j", "falkordb", "falkordb-remote", "kuzudb", "nornic"],
82
92
  "INDEX_VARIABLES": ["true", "false"],
83
93
  "ALLOW_DB_DELETION": ["true", "false"],
84
94
  "DEBUG_LOGS": ["true", "false"],
@@ -342,6 +352,26 @@ def validate_config_value(key: str, value: str) -> tuple[bool, Optional[str]]:
342
352
  return False, "PARALLEL_WORKERS must be between 1 and 32"
343
353
  except ValueError:
344
354
  return False, "PARALLEL_WORKERS must be a number"
355
+
356
+ if key == "MAX_TOOL_RESPONSE_TOKENS":
357
+ try:
358
+ limit = int(value)
359
+ if limit < 0:
360
+ return False, "MAX_TOOL_RESPONSE_TOKENS must be 0 (unlimited) or a positive integer"
361
+ except ValueError:
362
+ return False, "MAX_TOOL_RESPONSE_TOKENS must be an integer (0 = unlimited)"
363
+
364
+ if key == "TOOL_RESULT_LIMITS":
365
+ import json as _json
366
+ try:
367
+ parsed = _json.loads(value)
368
+ if not isinstance(parsed, dict):
369
+ return False, "TOOL_RESULT_LIMITS must be a JSON object, e.g. {\"find_code\": 20}"
370
+ for k, v in parsed.items():
371
+ if not isinstance(v, int) or v < 1:
372
+ return False, f"TOOL_RESULT_LIMITS: value for '{k}' must be a positive integer"
373
+ except _json.JSONDecodeError:
374
+ return False, "TOOL_RESULT_LIMITS must be valid JSON, e.g. {\"find_code\": 20, \"find_dead_code\": 30}"
345
375
 
346
376
  if key == "MAX_DEPTH":
347
377
  if value.lower() != "unlimited":
@@ -854,11 +854,11 @@ def doctor():
854
854
  elif default_db == "kuzudb":
855
855
  from importlib.util import find_spec
856
856
 
857
- if find_spec("kuzu") is not None:
857
+ if find_spec("real_ladybug") is not None:
858
858
  console.print(f" [green]✓[/green] KuzuDB is installed")
859
859
  else:
860
860
  console.print(f" [red]✗[/red] KuzuDB is not installed")
861
- console.print(f" Run: pip install kuzu")
861
+ console.print(f" Run: pip install real_ladybug")
862
862
  all_checks_passed = False
863
863
  else:
864
864
  # FalkorDB