codegraphcontext 0.6.9__tar.gz → 0.6.11__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 (191) hide show
  1. {codegraphcontext-0.6.9/src/codegraphcontext.egg-info → codegraphcontext-0.6.11}/PKG-INFO +11 -1
  2. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/README.md +10 -0
  3. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/pyproject.toml +1 -1
  4. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/cli_helpers.py +15 -5
  5. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/main.py +11 -0
  6. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/cgc_bundle.py +54 -3
  7. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/database_embedded_kuzu.py +46 -2
  8. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/elisp.py +19 -4
  9. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11/src/codegraphcontext.egg-info}/PKG-INFO +11 -1
  10. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/LICENSE +0 -0
  11. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/MANIFEST.in +0 -0
  12. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/setup.cfg +0 -0
  13. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/__init__.py +0 -0
  14. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/__main__.py +0 -0
  15. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/api/__init__.py +0 -0
  16. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/api/app.py +0 -0
  17. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/api/auth.py +0 -0
  18. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/api/mcp_sse.py +0 -0
  19. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/api/router.py +0 -0
  20. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/api/schemas.py +0 -0
  21. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/__init__.py +0 -0
  22. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/config_manager.py +0 -0
  23. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/hook_manager.py +0 -0
  24. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/project_config.py +0 -0
  25. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/registry_commands.py +0 -0
  26. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/setup_macos.py +0 -0
  27. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/setup_wizard.py +0 -0
  28. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/simulator.py +0 -0
  29. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/cli/visualizer.py +0 -0
  30. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/__init__.py +0 -0
  31. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/bundle_registry.py +0 -0
  32. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/cgcignore.py +0 -0
  33. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/database.py +0 -0
  34. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/database_falkordb.py +0 -0
  35. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/database_falkordb_remote.py +0 -0
  36. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/database_kuzu.py +0 -0
  37. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/database_ladybug.py +0 -0
  38. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/database_nornic.py +0 -0
  39. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/falkor_worker.py +0 -0
  40. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/graph_query.py +0 -0
  41. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/jobs.py +0 -0
  42. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/simulator.py +0 -0
  43. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/core/watcher.py +0 -0
  44. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/prompts.py +0 -0
  45. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/server.py +0 -0
  46. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/stdlibs.py +0 -0
  47. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tool_definitions.py +0 -0
  48. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/__init__.py +0 -0
  49. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/advanced_language_query_tool.py +0 -0
  50. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/code_finder.py +0 -0
  51. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/datasources/__init__.py +0 -0
  52. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/datasources/cassandra_ingester.py +0 -0
  53. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/datasources/mysql_ingester.py +0 -0
  54. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/datasources/redis_ingester.py +0 -0
  55. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/graph_builder.py +0 -0
  56. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/handlers/analysis_handlers.py +0 -0
  57. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/handlers/indexing_handlers.py +0 -0
  58. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/handlers/management_handlers.py +0 -0
  59. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/handlers/query_handlers.py +0 -0
  60. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/handlers/watcher_handlers.py +0 -0
  61. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/__init__.py +0 -0
  62. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/constants.py +0 -0
  63. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/discovery.py +0 -0
  64. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/embeddings.py +0 -0
  65. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/persistence/__init__.py +0 -0
  66. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/persistence/utils.py +0 -0
  67. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/persistence/writer.py +0 -0
  68. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/pipeline.py +0 -0
  69. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/pre_scan.py +0 -0
  70. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/resolution/__init__.py +0 -0
  71. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/resolution/calls.py +0 -0
  72. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/resolution/inheritance.py +0 -0
  73. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/resolution/post_resolution.py +0 -0
  74. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/sanitize.py +0 -0
  75. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/schema.py +0 -0
  76. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/schema_contract.py +0 -0
  77. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/scip_pipeline.py +0 -0
  78. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/indexing/vector_resolver.py +0 -0
  79. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/c.py +0 -0
  80. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/cpp.py +0 -0
  81. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/csharp.py +0 -0
  82. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/css.py +0 -0
  83. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/dart.py +0 -0
  84. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/elixir.py +0 -0
  85. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/go.py +0 -0
  86. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/gradle.py +0 -0
  87. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/haskell.py +0 -0
  88. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/html.py +0 -0
  89. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/java.py +0 -0
  90. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/javascript.py +0 -0
  91. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/kotlin.py +0 -0
  92. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/lua.py +0 -0
  93. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/maven.py +0 -0
  94. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/mybatis.py +0 -0
  95. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/perl.py +0 -0
  96. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/php.py +0 -0
  97. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/python.py +0 -0
  98. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/ruby.py +0 -0
  99. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/rust.py +0 -0
  100. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/scala.py +0 -0
  101. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/sfc_common.py +0 -0
  102. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/solidity.py +0 -0
  103. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/solidity_remappings.py +0 -0
  104. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/svelte.py +0 -0
  105. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/swift.py +0 -0
  106. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/typescript.py +0 -0
  107. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/typescriptjsx.py +0 -0
  108. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/languages/vue.py +0 -0
  109. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/package_resolver.py +0 -0
  110. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/c_toolkit.py +0 -0
  111. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/cpp_toolkit.py +0 -0
  112. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/csharp_toolkit.py +0 -0
  113. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/dart_toolkit.py +0 -0
  114. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/elisp_toolkit.py +0 -0
  115. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/go_toolkit.py +0 -0
  116. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/haskell_toolkit.py +0 -0
  117. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/java_toolkit.py +0 -0
  118. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/javascript_toolkit.py +0 -0
  119. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/perl_toolkit.py +0 -0
  120. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/python_toolkit.py +0 -0
  121. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/ruby_toolkit.py +0 -0
  122. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/rust_toolkit.py +0 -0
  123. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/scala_toolkit.py +0 -0
  124. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/solidity_toolkit.py +0 -0
  125. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/swift_toolkit.py +0 -0
  126. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/query_tool_languages/typescript_toolkit.py +0 -0
  127. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/report_generator.py +0 -0
  128. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/scip_indexer.py +0 -0
  129. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/scip_pb2.py +0 -0
  130. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/system.py +0 -0
  131. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/tree_sitter_parser.py +0 -0
  132. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/tools/type_utils.py +0 -0
  133. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/cypher_ddl.py +0 -0
  134. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/cypher_readonly.py +0 -0
  135. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/debug_log.py +0 -0
  136. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/gcf_encoder.py +0 -0
  137. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/git_utils.py +0 -0
  138. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/graph_shapes.py +0 -0
  139. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/path_ignore.py +0 -0
  140. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/path_sandbox.py +0 -0
  141. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/repo_path.py +0 -0
  142. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/secret_scanner.py +0 -0
  143. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/tool_limits.py +0 -0
  144. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/tree_sitter_manager.py +0 -0
  145. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/utils/visualize_graph.py +0 -0
  146. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/assets/__vite-browser-external-9wXp6ZBx.js +0 -0
  147. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/assets/function-calls-BtRHrqa2.png +0 -0
  148. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/assets/graph-total-D1fBAugo.png +0 -0
  149. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/assets/hero-graph-2voMJp2a.jpg +0 -0
  150. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/assets/hierarchy-DGADo0YT.png +0 -0
  151. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/assets/index-C-187lf0.js +0 -0
  152. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/assets/index-fNAa6jgv.css +0 -0
  153. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/assets/parser-pyodide.worker-BgsDfaad.js +0 -0
  154. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/assets/parser.worker-_nvrecvj.js +0 -0
  155. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/assets/tree-sitter-qKYAACSa.wasm +0 -0
  156. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/cgcIcon.png +0 -0
  157. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/favicon.ico +0 -0
  158. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/index.html +0 -0
  159. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/logo-icon.svg +0 -0
  160. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/logo.svg +0 -0
  161. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/placeholder.svg +0 -0
  162. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/preview-image.png +0 -0
  163. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/robots.txt +0 -0
  164. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c.wasm +0 -0
  165. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c_sharp.wasm +0 -0
  166. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-core.js +0 -0
  167. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-cpp.wasm +0 -0
  168. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-dart.wasm +0 -0
  169. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-go.wasm +0 -0
  170. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-java.wasm +0 -0
  171. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-javascript.wasm +0 -0
  172. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-kotlin.wasm +0 -0
  173. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-perl.wasm +0 -0
  174. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-php.wasm +0 -0
  175. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-python.wasm +0 -0
  176. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-ruby.wasm +0 -0
  177. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-rust.wasm +0 -0
  178. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-swift.wasm +0 -0
  179. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-tsx.wasm +0 -0
  180. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter-typescript.wasm +0 -0
  181. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/tree-sitter.wasm +0 -0
  182. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.js +0 -0
  183. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.wasm +0 -0
  184. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext/viz/server.py +0 -0
  185. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext.egg-info/SOURCES.txt +0 -0
  186. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext.egg-info/dependency_links.txt +0 -0
  187. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext.egg-info/entry_points.txt +0 -0
  188. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext.egg-info/requires.txt +0 -0
  189. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/src/codegraphcontext.egg-info/top_level.txt +0 -0
  190. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/tests/test_issue_806_fix.py +0 -0
  191. {codegraphcontext-0.6.9 → codegraphcontext-0.6.11}/tests/test_mcp_sse.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codegraphcontext
3
- Version: 0.6.9
3
+ Version: 0.6.11
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
@@ -388,6 +388,8 @@ CodeGraphContext supports multiple graph database backends to suit your environm
388
388
  | **Speed** | ⚡ Extremely Fast | ⚡ Fast | 🚀 Scalable | 🌐 Network-dependent |
389
389
  | **Persistence**| Yes (to disk) | Yes (to disk) | Yes (to disk) | Yes (server-side) |
390
390
 
391
+ Embedded KuzuDB/LadybugDB default to a **4 GiB** buffer pool (`CGC_EMBEDDED_BUFFER_POOL_MB`). Set that env var to another MiB value, or `0` for the library default (~80% of system RAM).
392
+
391
393
  ---
392
394
 
393
395
  ## SCIP indexing (optional)
@@ -873,6 +875,14 @@ Once the server is running, you can interact with it through your AI assistant u
873
875
 
874
876
  ---
875
877
 
878
+ ## Troubleshooting
879
+
880
+ Hitting a lock error, a "never finishes indexing" loop, or a silent feature?
881
+ See [docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md) — every entry maps a
882
+ real reported issue to its fix or workaround.
883
+
884
+ ---
885
+
876
886
  ## Contributing
877
887
 
878
888
  Contributions are welcome! 🎉
@@ -289,6 +289,8 @@ CodeGraphContext supports multiple graph database backends to suit your environm
289
289
  | **Speed** | ⚡ Extremely Fast | ⚡ Fast | 🚀 Scalable | 🌐 Network-dependent |
290
290
  | **Persistence**| Yes (to disk) | Yes (to disk) | Yes (to disk) | Yes (server-side) |
291
291
 
292
+ Embedded KuzuDB/LadybugDB default to a **4 GiB** buffer pool (`CGC_EMBEDDED_BUFFER_POOL_MB`). Set that env var to another MiB value, or `0` for the library default (~80% of system RAM).
293
+
292
294
  ---
293
295
 
294
296
  ## SCIP indexing (optional)
@@ -774,6 +776,14 @@ Once the server is running, you can interact with it through your AI assistant u
774
776
 
775
777
  ---
776
778
 
779
+ ## Troubleshooting
780
+
781
+ Hitting a lock error, a "never finishes indexing" loop, or a silent feature?
782
+ See [docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md) — every entry maps a
783
+ real reported issue to its fix or workaround.
784
+
785
+ ---
786
+
777
787
  ## Contributing
778
788
 
779
789
  Contributions are welcome! 🎉
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "codegraphcontext"
3
- version = "0.6.9"
3
+ version = "0.6.11"
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"
@@ -342,6 +342,21 @@ def index_helper(path: str, context: Optional[str] = None, no_progress: bool = F
342
342
  db_manager.close_driver()
343
343
  raise typer.Exit(code=1)
344
344
 
345
+ # Register the repo in its named context BEFORE the already-indexed skip
346
+ # guard below: the early return used to sit above this call, so a graph
347
+ # populated by any path that skipped registration (MCP add_code_to_graph,
348
+ # an interrupted run) could never reconcile config.yaml through the normal
349
+ # command — 'cgc context list' showed "Repos Linked: 0" forever (#1317).
350
+ # Registration is idempotent, so running it on every invocation is safe.
351
+ # The resolved context name is used so a *default* named context registers
352
+ # too, not only an explicit --context flag.
353
+ if ctx.mode == "named":
354
+ register_context_name = context or getattr(ctx, "context_name", None)
355
+ if register_context_name:
356
+ if not register_repo_in_context(register_context_name, str(path_obj), auto_create=False):
357
+ db_manager.close_driver()
358
+ raise typer.Exit(code=1)
359
+
345
360
  indexed_repos = code_finder.list_indexed_repositories()
346
361
  repo_exists = any_repo_matches_path(indexed_repos, path_obj)
347
362
 
@@ -400,11 +415,6 @@ def index_helper(path: str, context: Optional[str] = None, no_progress: bool = F
400
415
  except Exception as e:
401
416
  console.print(f"[yellow]Warning: Could not check file count: {e}. Proceeding with indexing...[/yellow]")
402
417
 
403
- if context and ctx.mode == "named":
404
- if not register_repo_in_context(context, str(path_obj), auto_create=False):
405
- db_manager.close_driver()
406
- raise typer.Exit(code=1)
407
-
408
418
  console.print(f"Starting indexing for: {path_obj}")
409
419
 
410
420
  try:
@@ -711,6 +711,7 @@ def bundle_export(
711
711
  no_stats: bool = typer.Option(False, "--no-stats", help="Skip statistics generation"),
712
712
  sign_key: Optional[str] = typer.Option(None, "--sign-key", envvar="CGC_BUNDLE_SIGN_KEY", help="HMAC signing key (or set CGC_BUNDLE_SIGN_KEY)"),
713
713
  encrypt_password: Optional[str] = typer.Option(None, "--encrypt-password", envvar="CGC_BUNDLE_PASSWORD", help="Encrypt bundle with this password (or set CGC_BUNDLE_PASSWORD)", hide_input=True),
714
+ exclude_labels: Optional[str] = typer.Option(None, "--exclude-labels", help="Comma-separated node labels to leave out of the bundle, with their edges (e.g. DbTable,ExternalClass) (#1323)"),
714
715
  context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use"),
715
716
  ):
716
717
  """
@@ -760,6 +761,14 @@ def bundle_export(
760
761
  include_stats=not no_stats,
761
762
  sign_key=sign_key,
762
763
  encrypt_password=encrypt_password,
764
+ # bundle_export is also called programmatically (the golden
765
+ # harness does), where unpassed Typer options arrive as OptionInfo
766
+ # objects rather than their defaults — same trap the CLI meta-test
767
+ # documents for other commands.
768
+ exclude_labels=[
769
+ l for l in (exclude_labels if isinstance(exclude_labels, str) else "").split(",")
770
+ if l.strip()
771
+ ],
763
772
  )
764
773
 
765
774
  if success:
@@ -1137,6 +1146,7 @@ def export_shortcut(
1137
1146
  no_stats: bool = typer.Option(False, "--no-stats", help="Skip generating statistics in the bundle"),
1138
1147
  sign_key: Optional[str] = typer.Option(None, "--sign-key", envvar="CGC_BUNDLE_SIGN_KEY", help="HMAC signing key (or set CGC_BUNDLE_SIGN_KEY)"),
1139
1148
  encrypt_password: Optional[str] = typer.Option(None, "--encrypt-password", envvar="CGC_BUNDLE_PASSWORD", help="Encrypt bundle with this password (or set CGC_BUNDLE_PASSWORD)", hide_input=True),
1149
+ exclude_labels: Optional[str] = typer.Option(None, "--exclude-labels", help="Comma-separated node labels to leave out of the bundle, with their edges (e.g. DbTable,ExternalClass) (#1323)"),
1140
1150
  context: Optional[str] = typer.Option(None, "--context", "-c", help="Specific context to use"),
1141
1151
  ):
1142
1152
  """Shortcut for 'cgc bundle export'"""
@@ -1146,6 +1156,7 @@ def export_shortcut(
1146
1156
  no_stats=no_stats,
1147
1157
  sign_key=sign_key,
1148
1158
  encrypt_password=encrypt_password,
1159
+ exclude_labels=exclude_labels,
1149
1160
  context=context,
1150
1161
  )
1151
1162
 
@@ -199,6 +199,7 @@ class CGCBundle:
199
199
  include_stats: bool = True,
200
200
  sign_key: Optional[str] = None,
201
201
  encrypt_password: Optional[str] = None,
202
+ exclude_labels: Optional[List[str]] = None,
202
203
  ) -> Tuple[bool, str]:
203
204
  """
204
205
  Export the current graph (or a specific repository) to a .cgc bundle.
@@ -225,6 +226,12 @@ class CGCBundle:
225
226
  # Step 1: Extract metadata base
226
227
  info_logger("Extracting metadata...")
227
228
  metadata = self._extract_metadata(repo_path)
229
+ if exclude_labels:
230
+ # Recorded for transparency: a consumer can tell a bundle
231
+ # was exported without these node types (#1323).
232
+ metadata["excluded_labels"] = sorted(
233
+ {l.strip() for l in exclude_labels if l.strip()}
234
+ )
228
235
 
229
236
  # Step 2: Extract schema
230
237
  info_logger("Extracting schema...")
@@ -234,7 +241,7 @@ class CGCBundle:
234
241
 
235
242
  # Step 3: Extract nodes
236
243
  info_logger("Extracting nodes...")
237
- node_count = self._extract_nodes(temp_path / "nodes.jsonl", repo_path)
244
+ node_count = self._extract_nodes(temp_path / "nodes.jsonl", repo_path, exclude_labels=exclude_labels)
238
245
  if node_count == 0:
239
246
  return False, (
240
247
  "No nodes to export. Index the repository first or verify "
@@ -244,6 +251,7 @@ class CGCBundle:
244
251
  # Step 4: Extract edges
245
252
  info_logger("Extracting edges...")
246
253
  edge_count = self._extract_edges(temp_path / "edges.jsonl", repo_path)
254
+ # (edge filtering uses the id set _extract_nodes recorded)
247
255
 
248
256
  # Step 5: Generate statistics and assemble standardized metadata
249
257
  if include_stats:
@@ -667,10 +675,19 @@ class CGCBundle:
667
675
  """,
668
676
  ]
669
677
 
670
- def _extract_nodes(self, output_file: Path, repo_path: Optional[Path]) -> int:
671
- """Extract all nodes to JSONL format."""
678
+ def _extract_nodes(self, output_file: Path, repo_path: Optional[Path], exclude_labels: Optional[List[str]] = None) -> int:
679
+ """Extract all nodes to JSONL format.
680
+
681
+ ``exclude_labels`` drops nodes carrying any of the given labels
682
+ (#1323 — e.g. DbTable/ExternalClass datasource metadata that path
683
+ filters can never reach). Their ids are recorded so
684
+ ``_extract_edges`` drops the touching edges too, keeping the bundle
685
+ free of dangling endpoints.
686
+ """
672
687
  count = 0
673
688
  seen_nodes = set()
689
+ excluded = {l.strip() for l in (exclude_labels or []) if l.strip()}
690
+ self._excluded_node_ids = set()
674
691
 
675
692
  with self.db_manager.get_driver(self._active_graph).session() as session:
676
693
  if repo_path:
@@ -691,6 +708,12 @@ class CGCBundle:
691
708
  if node_key in seen_nodes:
692
709
  continue
693
710
  seen_nodes.add(node_key)
711
+
712
+ if excluded and any(l in excluded for l in labels):
713
+ self._excluded_node_ids.add(
714
+ self._stable_id_key(self._export_id_of(node, node_dict))
715
+ )
716
+ continue
694
717
 
695
718
  # Clean up absolute path prefix to keep it relative
696
719
  if repo_path:
@@ -718,6 +741,24 @@ class CGCBundle:
718
741
 
719
742
  return count
720
743
 
744
+ @staticmethod
745
+ def _stable_id_key(node_id) -> str:
746
+ """A hashable, backend-agnostic key for a node id (dict for Kùzu,
747
+ string for Neo4j/FalkorDB)."""
748
+ if isinstance(node_id, dict):
749
+ return json.dumps(node_id, sort_keys=True, default=str)
750
+ return str(node_id)
751
+
752
+ @staticmethod
753
+ def _export_id_of(node, node_dict):
754
+ if '_id' in node_dict:
755
+ return node_dict['_id']
756
+ if hasattr(node, 'element_id'):
757
+ return node.element_id
758
+ if hasattr(node, 'id'):
759
+ return str(node.id)
760
+ return None
761
+
721
762
  def _extract_edges(self, output_file: Path, repo_path: Optional[Path]) -> int:
722
763
  """Extract all relationships to JSONL format."""
723
764
  count = 0
@@ -779,6 +820,16 @@ class CGCBundle:
779
820
  else:
780
821
  to_id = str(id(target))
781
822
 
823
+ # Drop edges touching a label-excluded node (#1323):
824
+ # nodes.jsonl no longer carries the endpoint, and a
825
+ # dangling reference is an import failure waiting.
826
+ excluded_ids = getattr(self, "_excluded_node_ids", None)
827
+ if excluded_ids and (
828
+ self._stable_id_key(from_id) in excluded_ids
829
+ or self._stable_id_key(to_id) in excluded_ids
830
+ ):
831
+ continue
832
+
782
833
  # Clean up absolute path prefix inside edge properties
783
834
  if repo_path:
784
835
  repo_str = repo_path.resolve().as_posix()
@@ -23,6 +23,40 @@ from codegraphcontext.core.graph_query import GraphQueryInterface
23
23
  from ..utils.cypher_ddl import is_schema_ddl
24
24
  from codegraphcontext.utils.debug_log import debug_log, info_logger, error_logger, warning_logger
25
25
 
26
+ # Default cap for ladybug/kuzu buffer pools (bytes). Both libraries otherwise
27
+ # default to ~80% of system RAM, which lets long-running gateways grow huge.
28
+ DEFAULT_EMBEDDED_BUFFER_POOL_BYTES = 4 * 1024**3
29
+
30
+
31
+ def resolve_embedded_buffer_pool_size() -> int:
32
+ """
33
+ Resolve ``buffer_pool_size`` for embedded ``Database(...)`` constructors.
34
+
35
+ Reads ``CGC_EMBEDDED_BUFFER_POOL_MB`` (integer MiB). Unset uses a 4 GiB
36
+ default. ``0`` opts back into the library default (~80% of system memory).
37
+ Invalid values log a warning and fall back to 4 GiB.
38
+ """
39
+ raw = os.getenv("CGC_EMBEDDED_BUFFER_POOL_MB")
40
+ if raw is None or str(raw).strip() == "":
41
+ return DEFAULT_EMBEDDED_BUFFER_POOL_BYTES
42
+ try:
43
+ mb = int(str(raw).strip())
44
+ except ValueError:
45
+ warning_logger(
46
+ f"Invalid CGC_EMBEDDED_BUFFER_POOL_MB={raw!r}; "
47
+ f"using default {DEFAULT_EMBEDDED_BUFFER_POOL_BYTES} bytes"
48
+ )
49
+ return DEFAULT_EMBEDDED_BUFFER_POOL_BYTES
50
+ if mb < 0:
51
+ warning_logger(
52
+ f"Invalid CGC_EMBEDDED_BUFFER_POOL_MB={raw!r}; "
53
+ f"using default {DEFAULT_EMBEDDED_BUFFER_POOL_BYTES} bytes"
54
+ )
55
+ return DEFAULT_EMBEDDED_BUFFER_POOL_BYTES
56
+ if mb == 0:
57
+ return 0
58
+ return mb * 1024**2
59
+
26
60
 
27
61
  @dataclass(frozen=True)
28
62
  class EmbeddedBackendSpec:
@@ -117,8 +151,18 @@ class EmbeddedGraphManager(GraphQueryInterface):
117
151
  max_retries = 5
118
152
  for attempt in range(max_retries):
119
153
  try:
120
- info_logger(f"Initializing {spec.display_name} at {self.db_path}")
121
- self._db = backend.Database(self.db_path)
154
+ buffer_pool_size = resolve_embedded_buffer_pool_size()
155
+ if buffer_pool_size == 0:
156
+ pool_msg = "library default (~80% of system memory)"
157
+ else:
158
+ pool_msg = f"{buffer_pool_size} bytes"
159
+ info_logger(
160
+ f"Initializing {spec.display_name} at {self.db_path} "
161
+ f"(buffer_pool_size={pool_msg})"
162
+ )
163
+ self._db = backend.Database(
164
+ self.db_path, buffer_pool_size=buffer_pool_size
165
+ )
122
166
 
123
167
  # Initialise connection pool
124
168
  self._pool = queue.Queue()
@@ -242,11 +242,26 @@ class ElispTreeSitterParser:
242
242
  return None
243
243
 
244
244
  def _first_symbol_in_quote(self, node: Any) -> Optional[str]:
245
- if node.type != "quote":
245
+ # (quote symbol) -> symbol
246
+ if node.type == "quote":
247
+ for child in self._named_children(node):
248
+ if child.type == "symbol":
249
+ return self._get_node_text(child)
246
250
  return None
247
- for child in self._named_children(node):
248
- if child.type == "symbol":
249
- return self._get_node_text(child)
251
+ # #'symbol (function quote): tree-sitter-elisp parses `(funcall #'fn ...)`
252
+ # as (special_form (symbol "function") (symbol "fn")). Without this branch
253
+ # funcall/apply targets are dropped, so function_calls never records them
254
+ # and elisp call tests fail (KeyError / missing call edges).
255
+ if node.type == "special_form" and self._form_head(node) == "function":
256
+ named = self._named_children(node)
257
+ if len(named) >= 2 and named[1].type == "symbol":
258
+ return self._get_node_text(named[1])
259
+ return None
260
+ # Some grammar builds expose #'/quote as a `quoted_symbol` node wrapping a
261
+ # single symbol child; cover that variant too.
262
+ named = self._named_children(node)
263
+ if len(named) == 1 and named[0].type == "symbol":
264
+ return self._get_node_text(named[0])
250
265
  return None
251
266
 
252
267
  def _quoted_symbol_argument(self, node: Any, index: int = 1) -> Optional[str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codegraphcontext
3
- Version: 0.6.9
3
+ Version: 0.6.11
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
@@ -388,6 +388,8 @@ CodeGraphContext supports multiple graph database backends to suit your environm
388
388
  | **Speed** | ⚡ Extremely Fast | ⚡ Fast | 🚀 Scalable | 🌐 Network-dependent |
389
389
  | **Persistence**| Yes (to disk) | Yes (to disk) | Yes (to disk) | Yes (server-side) |
390
390
 
391
+ Embedded KuzuDB/LadybugDB default to a **4 GiB** buffer pool (`CGC_EMBEDDED_BUFFER_POOL_MB`). Set that env var to another MiB value, or `0` for the library default (~80% of system RAM).
392
+
391
393
  ---
392
394
 
393
395
  ## SCIP indexing (optional)
@@ -873,6 +875,14 @@ Once the server is running, you can interact with it through your AI assistant u
873
875
 
874
876
  ---
875
877
 
878
+ ## Troubleshooting
879
+
880
+ Hitting a lock error, a "never finishes indexing" loop, or a silent feature?
881
+ See [docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md) — every entry maps a
882
+ real reported issue to its fix or workaround.
883
+
884
+ ---
885
+
876
886
  ## Contributing
877
887
 
878
888
  Contributions are welcome! 🎉