codegraphcontext 0.6.9__tar.gz → 0.6.10__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.10}/PKG-INFO +9 -1
  2. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/README.md +8 -0
  3. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/pyproject.toml +1 -1
  4. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/cli_helpers.py +15 -5
  5. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/main.py +11 -0
  6. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/cgc_bundle.py +54 -3
  7. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10/src/codegraphcontext.egg-info}/PKG-INFO +9 -1
  8. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/LICENSE +0 -0
  9. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/MANIFEST.in +0 -0
  10. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/setup.cfg +0 -0
  11. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/__init__.py +0 -0
  12. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/__main__.py +0 -0
  13. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/api/__init__.py +0 -0
  14. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/api/app.py +0 -0
  15. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/api/auth.py +0 -0
  16. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/api/mcp_sse.py +0 -0
  17. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/api/router.py +0 -0
  18. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/api/schemas.py +0 -0
  19. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/__init__.py +0 -0
  20. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/config_manager.py +0 -0
  21. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/hook_manager.py +0 -0
  22. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/project_config.py +0 -0
  23. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/registry_commands.py +0 -0
  24. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/setup_macos.py +0 -0
  25. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/setup_wizard.py +0 -0
  26. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/simulator.py +0 -0
  27. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/cli/visualizer.py +0 -0
  28. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/__init__.py +0 -0
  29. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/bundle_registry.py +0 -0
  30. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/cgcignore.py +0 -0
  31. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/database.py +0 -0
  32. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/database_embedded_kuzu.py +0 -0
  33. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/database_falkordb.py +0 -0
  34. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/database_falkordb_remote.py +0 -0
  35. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/database_kuzu.py +0 -0
  36. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/database_ladybug.py +0 -0
  37. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/database_nornic.py +0 -0
  38. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/falkor_worker.py +0 -0
  39. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/graph_query.py +0 -0
  40. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/jobs.py +0 -0
  41. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/simulator.py +0 -0
  42. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/core/watcher.py +0 -0
  43. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/prompts.py +0 -0
  44. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/server.py +0 -0
  45. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/stdlibs.py +0 -0
  46. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tool_definitions.py +0 -0
  47. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/__init__.py +0 -0
  48. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/advanced_language_query_tool.py +0 -0
  49. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/code_finder.py +0 -0
  50. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/datasources/__init__.py +0 -0
  51. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/datasources/cassandra_ingester.py +0 -0
  52. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/datasources/mysql_ingester.py +0 -0
  53. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/datasources/redis_ingester.py +0 -0
  54. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/graph_builder.py +0 -0
  55. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/handlers/analysis_handlers.py +0 -0
  56. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/handlers/indexing_handlers.py +0 -0
  57. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/handlers/management_handlers.py +0 -0
  58. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/handlers/query_handlers.py +0 -0
  59. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/handlers/watcher_handlers.py +0 -0
  60. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/__init__.py +0 -0
  61. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/constants.py +0 -0
  62. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/discovery.py +0 -0
  63. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/embeddings.py +0 -0
  64. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/persistence/__init__.py +0 -0
  65. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/persistence/utils.py +0 -0
  66. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/persistence/writer.py +0 -0
  67. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/pipeline.py +0 -0
  68. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/pre_scan.py +0 -0
  69. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/resolution/__init__.py +0 -0
  70. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/resolution/calls.py +0 -0
  71. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/resolution/inheritance.py +0 -0
  72. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/resolution/post_resolution.py +0 -0
  73. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/sanitize.py +0 -0
  74. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/schema.py +0 -0
  75. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/schema_contract.py +0 -0
  76. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/scip_pipeline.py +0 -0
  77. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/indexing/vector_resolver.py +0 -0
  78. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/c.py +0 -0
  79. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/cpp.py +0 -0
  80. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/csharp.py +0 -0
  81. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/css.py +0 -0
  82. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/dart.py +0 -0
  83. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/elisp.py +0 -0
  84. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/elixir.py +0 -0
  85. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/go.py +0 -0
  86. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/gradle.py +0 -0
  87. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/haskell.py +0 -0
  88. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/html.py +0 -0
  89. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/java.py +0 -0
  90. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/javascript.py +0 -0
  91. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/kotlin.py +0 -0
  92. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/lua.py +0 -0
  93. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/maven.py +0 -0
  94. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/mybatis.py +0 -0
  95. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/perl.py +0 -0
  96. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/php.py +0 -0
  97. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/python.py +0 -0
  98. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/ruby.py +0 -0
  99. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/rust.py +0 -0
  100. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/scala.py +0 -0
  101. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/sfc_common.py +0 -0
  102. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/solidity.py +0 -0
  103. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/solidity_remappings.py +0 -0
  104. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/svelte.py +0 -0
  105. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/swift.py +0 -0
  106. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/typescript.py +0 -0
  107. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/typescriptjsx.py +0 -0
  108. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/languages/vue.py +0 -0
  109. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/package_resolver.py +0 -0
  110. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/c_toolkit.py +0 -0
  111. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/cpp_toolkit.py +0 -0
  112. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/csharp_toolkit.py +0 -0
  113. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/dart_toolkit.py +0 -0
  114. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/elisp_toolkit.py +0 -0
  115. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/go_toolkit.py +0 -0
  116. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/haskell_toolkit.py +0 -0
  117. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/java_toolkit.py +0 -0
  118. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/javascript_toolkit.py +0 -0
  119. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/perl_toolkit.py +0 -0
  120. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/python_toolkit.py +0 -0
  121. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/ruby_toolkit.py +0 -0
  122. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/rust_toolkit.py +0 -0
  123. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/scala_toolkit.py +0 -0
  124. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/solidity_toolkit.py +0 -0
  125. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/swift_toolkit.py +0 -0
  126. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/query_tool_languages/typescript_toolkit.py +0 -0
  127. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/report_generator.py +0 -0
  128. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/scip_indexer.py +0 -0
  129. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/scip_pb2.py +0 -0
  130. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/system.py +0 -0
  131. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/tree_sitter_parser.py +0 -0
  132. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/tools/type_utils.py +0 -0
  133. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/cypher_ddl.py +0 -0
  134. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/cypher_readonly.py +0 -0
  135. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/debug_log.py +0 -0
  136. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/gcf_encoder.py +0 -0
  137. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/git_utils.py +0 -0
  138. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/graph_shapes.py +0 -0
  139. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/path_ignore.py +0 -0
  140. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/path_sandbox.py +0 -0
  141. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/repo_path.py +0 -0
  142. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/secret_scanner.py +0 -0
  143. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/tool_limits.py +0 -0
  144. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/tree_sitter_manager.py +0 -0
  145. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/utils/visualize_graph.py +0 -0
  146. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/assets/__vite-browser-external-9wXp6ZBx.js +0 -0
  147. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/assets/function-calls-BtRHrqa2.png +0 -0
  148. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/assets/graph-total-D1fBAugo.png +0 -0
  149. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/assets/hero-graph-2voMJp2a.jpg +0 -0
  150. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/assets/hierarchy-DGADo0YT.png +0 -0
  151. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/assets/index-C-187lf0.js +0 -0
  152. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/assets/index-fNAa6jgv.css +0 -0
  153. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/assets/parser-pyodide.worker-BgsDfaad.js +0 -0
  154. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/assets/parser.worker-_nvrecvj.js +0 -0
  155. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/assets/tree-sitter-qKYAACSa.wasm +0 -0
  156. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/cgcIcon.png +0 -0
  157. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/favicon.ico +0 -0
  158. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/index.html +0 -0
  159. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/logo-icon.svg +0 -0
  160. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/logo.svg +0 -0
  161. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/placeholder.svg +0 -0
  162. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/preview-image.png +0 -0
  163. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/robots.txt +0 -0
  164. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c.wasm +0 -0
  165. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c_sharp.wasm +0 -0
  166. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-core.js +0 -0
  167. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-cpp.wasm +0 -0
  168. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-dart.wasm +0 -0
  169. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-go.wasm +0 -0
  170. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-java.wasm +0 -0
  171. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-javascript.wasm +0 -0
  172. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-kotlin.wasm +0 -0
  173. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-perl.wasm +0 -0
  174. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-php.wasm +0 -0
  175. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-python.wasm +0 -0
  176. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-ruby.wasm +0 -0
  177. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-rust.wasm +0 -0
  178. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-swift.wasm +0 -0
  179. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-tsx.wasm +0 -0
  180. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter-typescript.wasm +0 -0
  181. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/tree-sitter.wasm +0 -0
  182. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.js +0 -0
  183. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.wasm +0 -0
  184. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext/viz/server.py +0 -0
  185. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext.egg-info/SOURCES.txt +0 -0
  186. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext.egg-info/dependency_links.txt +0 -0
  187. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext.egg-info/entry_points.txt +0 -0
  188. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext.egg-info/requires.txt +0 -0
  189. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/src/codegraphcontext.egg-info/top_level.txt +0 -0
  190. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/tests/test_issue_806_fix.py +0 -0
  191. {codegraphcontext-0.6.9 → codegraphcontext-0.6.10}/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.10
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
@@ -873,6 +873,14 @@ Once the server is running, you can interact with it through your AI assistant u
873
873
 
874
874
  ---
875
875
 
876
+ ## Troubleshooting
877
+
878
+ Hitting a lock error, a "never finishes indexing" loop, or a silent feature?
879
+ See [docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md) — every entry maps a
880
+ real reported issue to its fix or workaround.
881
+
882
+ ---
883
+
876
884
  ## Contributing
877
885
 
878
886
  Contributions are welcome! 🎉
@@ -774,6 +774,14 @@ Once the server is running, you can interact with it through your AI assistant u
774
774
 
775
775
  ---
776
776
 
777
+ ## Troubleshooting
778
+
779
+ Hitting a lock error, a "never finishes indexing" loop, or a silent feature?
780
+ See [docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md) — every entry maps a
781
+ real reported issue to its fix or workaround.
782
+
783
+ ---
784
+
777
785
  ## Contributing
778
786
 
779
787
  Contributions are welcome! 🎉
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "codegraphcontext"
3
- version = "0.6.9"
3
+ version = "0.6.10"
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()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codegraphcontext
3
- Version: 0.6.9
3
+ Version: 0.6.10
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
@@ -873,6 +873,14 @@ Once the server is running, you can interact with it through your AI assistant u
873
873
 
874
874
  ---
875
875
 
876
+ ## Troubleshooting
877
+
878
+ Hitting a lock error, a "never finishes indexing" loop, or a silent feature?
879
+ See [docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md) — every entry maps a
880
+ real reported issue to its fix or workaround.
881
+
882
+ ---
883
+
876
884
  ## Contributing
877
885
 
878
886
  Contributions are welcome! 🎉