codegraphcontext 0.6.5__tar.gz → 0.6.7__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 (190) hide show
  1. {codegraphcontext-0.6.5/src/codegraphcontext.egg-info → codegraphcontext-0.6.7}/PKG-INFO +7 -2
  2. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/README.md +6 -1
  3. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/pyproject.toml +1 -1
  4. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/persistence/writer.py +24 -6
  5. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/schema.py +45 -0
  6. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/kotlin.py +15 -2
  7. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/php.py +13 -2
  8. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/ruby.py +20 -5
  9. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7/src/codegraphcontext.egg-info}/PKG-INFO +7 -2
  10. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/LICENSE +0 -0
  11. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/MANIFEST.in +0 -0
  12. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/setup.cfg +0 -0
  13. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/__init__.py +0 -0
  14. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/__main__.py +0 -0
  15. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/api/__init__.py +0 -0
  16. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/api/app.py +0 -0
  17. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/api/auth.py +0 -0
  18. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/api/mcp_sse.py +0 -0
  19. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/api/router.py +0 -0
  20. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/api/schemas.py +0 -0
  21. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/__init__.py +0 -0
  22. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/cli_helpers.py +0 -0
  23. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/config_manager.py +0 -0
  24. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/hook_manager.py +0 -0
  25. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/main.py +0 -0
  26. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/project_config.py +0 -0
  27. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/registry_commands.py +0 -0
  28. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/setup_macos.py +0 -0
  29. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/setup_wizard.py +0 -0
  30. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/simulator.py +0 -0
  31. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/cli/visualizer.py +0 -0
  32. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/__init__.py +0 -0
  33. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/bundle_registry.py +0 -0
  34. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/cgc_bundle.py +0 -0
  35. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/cgcignore.py +0 -0
  36. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/database.py +0 -0
  37. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/database_embedded_kuzu.py +0 -0
  38. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/database_falkordb.py +0 -0
  39. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/database_falkordb_remote.py +0 -0
  40. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/database_kuzu.py +0 -0
  41. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/database_ladybug.py +0 -0
  42. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/database_nornic.py +0 -0
  43. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/falkor_worker.py +0 -0
  44. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/graph_query.py +0 -0
  45. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/jobs.py +0 -0
  46. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/simulator.py +0 -0
  47. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/core/watcher.py +0 -0
  48. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/prompts.py +0 -0
  49. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/server.py +0 -0
  50. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/stdlibs.py +0 -0
  51. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tool_definitions.py +0 -0
  52. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/__init__.py +0 -0
  53. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/advanced_language_query_tool.py +0 -0
  54. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/code_finder.py +0 -0
  55. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/datasources/__init__.py +0 -0
  56. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/datasources/cassandra_ingester.py +0 -0
  57. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/datasources/mysql_ingester.py +0 -0
  58. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/datasources/redis_ingester.py +0 -0
  59. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/graph_builder.py +0 -0
  60. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/handlers/analysis_handlers.py +0 -0
  61. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/handlers/indexing_handlers.py +0 -0
  62. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/handlers/management_handlers.py +0 -0
  63. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/handlers/query_handlers.py +0 -0
  64. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/handlers/watcher_handlers.py +0 -0
  65. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/__init__.py +0 -0
  66. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/constants.py +0 -0
  67. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/discovery.py +0 -0
  68. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/embeddings.py +0 -0
  69. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/persistence/__init__.py +0 -0
  70. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/persistence/utils.py +0 -0
  71. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/pipeline.py +0 -0
  72. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/pre_scan.py +0 -0
  73. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/resolution/__init__.py +0 -0
  74. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/resolution/calls.py +0 -0
  75. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/resolution/inheritance.py +0 -0
  76. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/resolution/post_resolution.py +0 -0
  77. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/sanitize.py +0 -0
  78. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/schema_contract.py +0 -0
  79. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/scip_pipeline.py +0 -0
  80. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/indexing/vector_resolver.py +0 -0
  81. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/c.py +0 -0
  82. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/cpp.py +0 -0
  83. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/csharp.py +0 -0
  84. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/css.py +0 -0
  85. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/dart.py +0 -0
  86. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/elisp.py +0 -0
  87. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/elixir.py +0 -0
  88. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/go.py +0 -0
  89. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/gradle.py +0 -0
  90. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/haskell.py +0 -0
  91. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/html.py +0 -0
  92. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/java.py +0 -0
  93. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/javascript.py +0 -0
  94. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/lua.py +0 -0
  95. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/maven.py +0 -0
  96. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/mybatis.py +0 -0
  97. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/perl.py +0 -0
  98. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/python.py +0 -0
  99. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/rust.py +0 -0
  100. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/scala.py +0 -0
  101. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/sfc_common.py +0 -0
  102. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/solidity.py +0 -0
  103. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/solidity_remappings.py +0 -0
  104. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/svelte.py +0 -0
  105. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/swift.py +0 -0
  106. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/typescript.py +0 -0
  107. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/typescriptjsx.py +0 -0
  108. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/languages/vue.py +0 -0
  109. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/package_resolver.py +0 -0
  110. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/c_toolkit.py +0 -0
  111. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/cpp_toolkit.py +0 -0
  112. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/csharp_toolkit.py +0 -0
  113. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/dart_toolkit.py +0 -0
  114. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/elisp_toolkit.py +0 -0
  115. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/go_toolkit.py +0 -0
  116. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/haskell_toolkit.py +0 -0
  117. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/java_toolkit.py +0 -0
  118. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/javascript_toolkit.py +0 -0
  119. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/perl_toolkit.py +0 -0
  120. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/python_toolkit.py +0 -0
  121. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/ruby_toolkit.py +0 -0
  122. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/rust_toolkit.py +0 -0
  123. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/scala_toolkit.py +0 -0
  124. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/solidity_toolkit.py +0 -0
  125. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/swift_toolkit.py +0 -0
  126. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/query_tool_languages/typescript_toolkit.py +0 -0
  127. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/report_generator.py +0 -0
  128. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/scip_indexer.py +0 -0
  129. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/scip_pb2.py +0 -0
  130. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/system.py +0 -0
  131. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/tree_sitter_parser.py +0 -0
  132. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/tools/type_utils.py +0 -0
  133. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/cypher_ddl.py +0 -0
  134. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/cypher_readonly.py +0 -0
  135. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/debug_log.py +0 -0
  136. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/gcf_encoder.py +0 -0
  137. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/git_utils.py +0 -0
  138. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/path_ignore.py +0 -0
  139. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/path_sandbox.py +0 -0
  140. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/repo_path.py +0 -0
  141. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/secret_scanner.py +0 -0
  142. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/tool_limits.py +0 -0
  143. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/tree_sitter_manager.py +0 -0
  144. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/utils/visualize_graph.py +0 -0
  145. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/assets/__vite-browser-external-9wXp6ZBx.js +0 -0
  146. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/assets/function-calls-BtRHrqa2.png +0 -0
  147. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/assets/graph-total-D1fBAugo.png +0 -0
  148. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/assets/hero-graph-2voMJp2a.jpg +0 -0
  149. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/assets/hierarchy-DGADo0YT.png +0 -0
  150. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/assets/index-C-187lf0.js +0 -0
  151. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/assets/index-fNAa6jgv.css +0 -0
  152. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/assets/parser-pyodide.worker-BgsDfaad.js +0 -0
  153. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/assets/parser.worker-_nvrecvj.js +0 -0
  154. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/assets/tree-sitter-qKYAACSa.wasm +0 -0
  155. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/cgcIcon.png +0 -0
  156. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/favicon.ico +0 -0
  157. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/index.html +0 -0
  158. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/logo-icon.svg +0 -0
  159. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/logo.svg +0 -0
  160. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/placeholder.svg +0 -0
  161. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/preview-image.png +0 -0
  162. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/robots.txt +0 -0
  163. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c.wasm +0 -0
  164. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c_sharp.wasm +0 -0
  165. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-core.js +0 -0
  166. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-cpp.wasm +0 -0
  167. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-dart.wasm +0 -0
  168. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-go.wasm +0 -0
  169. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-java.wasm +0 -0
  170. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-javascript.wasm +0 -0
  171. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-kotlin.wasm +0 -0
  172. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-perl.wasm +0 -0
  173. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-php.wasm +0 -0
  174. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-python.wasm +0 -0
  175. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-ruby.wasm +0 -0
  176. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-rust.wasm +0 -0
  177. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-swift.wasm +0 -0
  178. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-tsx.wasm +0 -0
  179. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter-typescript.wasm +0 -0
  180. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/tree-sitter.wasm +0 -0
  181. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.js +0 -0
  182. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.wasm +0 -0
  183. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext/viz/server.py +0 -0
  184. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext.egg-info/SOURCES.txt +0 -0
  185. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext.egg-info/dependency_links.txt +0 -0
  186. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext.egg-info/entry_points.txt +0 -0
  187. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext.egg-info/requires.txt +0 -0
  188. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/src/codegraphcontext.egg-info/top_level.txt +0 -0
  189. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/tests/test_issue_806_fix.py +0 -0
  190. {codegraphcontext-0.6.5 → codegraphcontext-0.6.7}/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.5
3
+ Version: 0.6.7
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
@@ -258,7 +258,12 @@ flowchart LR
258
258
  ---
259
259
 
260
260
  ## Star History
261
- [![Star History Chart](https://api.star-history.com/svg?repos=CodeGraphContext/CodeGraphContext&type=Date)](https://www.star-history.com/#CodeGraphContext/CodeGraphContext&Date)
261
+ [Star History Chart](https://www.star-history.com/#CodeGraphContext/CodeGraphContext&Date)
262
+ <!-- The inline chart image is temporarily removed: api.star-history.com currently
263
+ renders "GitHub restricted access to star data" instead of the chart
264
+ (GitHub-side restriction, see PR #1642). Restore the image once the
265
+ official service recovers:
266
+ [![Star History Chart](https://api.star-history.com/svg?repos=CodeGraphContext/CodeGraphContext&type=Date)](https://www.star-history.com/#CodeGraphContext/CodeGraphContext&Date) -->
262
267
 
263
268
  ---
264
269
 
@@ -159,7 +159,12 @@ flowchart LR
159
159
  ---
160
160
 
161
161
  ## Star History
162
- [![Star History Chart](https://api.star-history.com/svg?repos=CodeGraphContext/CodeGraphContext&type=Date)](https://www.star-history.com/#CodeGraphContext/CodeGraphContext&Date)
162
+ [Star History Chart](https://www.star-history.com/#CodeGraphContext/CodeGraphContext&Date)
163
+ <!-- The inline chart image is temporarily removed: api.star-history.com currently
164
+ renders "GitHub restricted access to star data" instead of the chart
165
+ (GitHub-side restriction, see PR #1642). Restore the image once the
166
+ official service recovers:
167
+ [![Star History Chart](https://api.star-history.com/svg?repos=CodeGraphContext/CodeGraphContext&type=Date)](https://www.star-history.com/#CodeGraphContext/CodeGraphContext&Date) -->
163
168
 
164
169
  ---
165
170
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "codegraphcontext"
3
- version = "0.6.5"
3
+ version = "0.6.7"
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"
@@ -154,14 +154,30 @@ def _cypher_label(label: str, backend: str) -> str:
154
154
 
155
155
 
156
156
  def _called_context_clause(called_label: str) -> str:
157
- """Match CALLS targets that store scope in context, class_context, or module_context."""
158
- if called_label in ("Function", "Variable"):
157
+ """Match CALLS targets that store scope in context, class_context, or module_context.
158
+
159
+ Resolution stores the resolved scope in `called_context`, but which node
160
+ property carries that scope differs by parser: Python/JS use `context`,
161
+ C++/PHP methods use `class_context`, and Rust functions carry ONLY
162
+ `module_context` (#1510). Matching `context` alone filtered every
163
+ correctly-resolved Rust module-scoped call out at write time.
164
+
165
+ Variable is restricted to `context`: the Kùzu Variable table declares no
166
+ class_context/module_context columns, and referencing a missing column
167
+ binder-errors the whole batch on typed backends.
168
+ """
169
+ if called_label == "Function":
159
170
  return (
160
171
  'AND (row.called_context = "" OR row.called_context IS NULL '
161
172
  "OR called.context = row.called_context "
162
173
  "OR called.class_context = row.called_context "
163
174
  "OR called.module_context = row.called_context)"
164
175
  )
176
+ if called_label == "Variable":
177
+ return (
178
+ 'AND (row.called_context = "" OR row.called_context IS NULL '
179
+ "OR called.context = row.called_context)"
180
+ )
165
181
  return ""
166
182
 
167
183
 
@@ -1006,10 +1022,12 @@ class GraphWriter:
1006
1022
  precise_batch.append(row)
1007
1023
 
1008
1024
  # Define which labels have a 'context' property in the schema
1009
- labels_with_context = {"Function", "Variable"}
1010
- called_context_clause = ""
1011
- if called_label in labels_with_context:
1012
- called_context_clause = 'AND (row.called_context = "" OR called.context = row.called_context)'
1025
+ # The label-aware helper matches context, class_context or
1026
+ # module_context depending on what the label's parsers emit —
1027
+ # the inline context-only predicate silently dropped Rust
1028
+ # module-scoped calls whose functions carry only
1029
+ # module_context (#1510).
1030
+ called_context_clause = _called_context_clause(called_label)
1013
1031
 
1014
1032
  # ...and which have a 'line_number'. File and Directory do not:
1015
1033
  # the Kùzu File table is (path, name, relative_path, package_name,
@@ -137,6 +137,51 @@ def create_graph_schema(driver: Any, db_manager: Any) -> None:
137
137
  ddl.run(
138
138
  "CREATE CONSTRAINT annotation_unique IF NOT EXISTS FOR (a:Annotation) REQUIRE (a.name, a.path, a.line_number) IS UNIQUE"
139
139
  )
140
+ # The relationship passes and code_finder look these nodes up
141
+ # by (name, path) with no line_number: write_inheritance_links
142
+ # matches `(child:<Label> {name: row.child_name, path:
143
+ # row.path})`, and the same for the parent, for every label
144
+ # pair it enumerates; write_function_call_groups matches the
145
+ # callee by (name, path) in both the batched and the single-row
146
+ # path; and code_finder's who_calls_function,
147
+ # what_does_function_call, find_class_hierarchy,
148
+ # find_all_callers and find_all_callees do the same.
149
+ #
150
+ # Neo4j uses a composite index only when EVERY indexed property
151
+ # has a predicate, so the four-property identity constraints
152
+ # above cannot serve those lookups -- the planner falls back to
153
+ # NodeByLabelScan + Filter, once per row. These plain
154
+ # two-property indexes restore an index seek. They do not
155
+ # collide with the identity constraints: a constraint's backing
156
+ # index covers a different property set, so the two coexist.
157
+ #
158
+ # FalkorDB is excluded (this is inside `not is_falkordb`): it
159
+ # indexes per attribute, not per property tuple, and the
160
+ # composite CREATE INDEX statements in its own branch already
161
+ # cover name and path. A second (name, path) index would add
162
+ # nothing there and only re-issue an index creation FalkorDB
163
+ # rejects as "already indexed".
164
+ for _label, _var in POSITIONAL_IDENTITY_LABELS.items():
165
+ ddl.run(
166
+ f"CREATE INDEX {_label.lower()}_name_path IF NOT EXISTS "
167
+ f"FOR ({_var}:{_label}) ON ({_var}.name, {_var}.path)"
168
+ )
169
+ # EnumMember, Object, Mixin, Extension and Parameter had index
170
+ # statements only in the is_falkordb branch, so on Neo4j the
171
+ # writer's `MATCH (m:EnumMember {name: …, path: …})` (and the
172
+ # per-label CONTAINS linking generally) was an unavoidable
173
+ # label scan — found while auditing #1653's lookup sites.
174
+ for _extra_label, _extra_var in (
175
+ ("EnumMember", "em"),
176
+ ("Object", "o"),
177
+ ("Mixin", "mx"),
178
+ ("Extension", "ex"),
179
+ ("Parameter", "p"),
180
+ ):
181
+ ddl.run(
182
+ f"CREATE INDEX {_extra_label.lower()}_name_path IF NOT EXISTS "
183
+ f"FOR ({_extra_var}:{_extra_label}) ON ({_extra_var}.name, {_extra_var}.path)"
184
+ )
140
185
 
141
186
  ddl.run("CREATE INDEX function_lang IF NOT EXISTS FOR (f:Function) ON (f.lang)")
142
187
  ddl.run("CREATE INDEX class_lang IF NOT EXISTS FOR (c:Class) ON (c.lang)")
@@ -169,7 +169,10 @@ class KotlinTreeSitterParser:
169
169
  return (
170
170
  self._get_node_text(name_node) if name_node else None,
171
171
  curr.type,
172
- curr.start_point[0] + 1,
172
+ # The name node's line, not the node's: an annotated
173
+ # declaration starts at its annotation, and consumers join
174
+ # this against the function's line_number (#1660).
175
+ (name_node.start_point[0] + 1) if name_node else (curr.start_point[0] + 1),
173
176
  )
174
177
  if curr.type in ("class_declaration", "interface_declaration", "object_declaration"):
175
178
  for child in curr.children:
@@ -177,7 +180,7 @@ class KotlinTreeSitterParser:
177
180
  return (
178
181
  self._get_node_text(child),
179
182
  curr.type,
180
- curr.start_point[0] + 1,
183
+ child.start_point[0] + 1,
181
184
  )
182
185
  # Check for secondary constructors
183
186
  if curr.type == "secondary_constructor":
@@ -1330,6 +1333,12 @@ class KotlinTreeSitterParser:
1330
1333
 
1331
1334
  if name_node:
1332
1335
  func_name = self._get_node_text(name_node)
1336
+ # Annotations/modifiers are children of the declaration
1337
+ # node, so node.start_point is the ANNOTATION line for
1338
+ # any annotated function. The name node sits on the
1339
+ # declaration proper — the established convention
1340
+ # (python decorated_definition, csharp #1659, #1660).
1341
+ start_line = name_node.start_point[0] + 1
1333
1342
 
1334
1343
  params_node = None
1335
1344
  for child in node.children:
@@ -1457,6 +1466,10 @@ class KotlinTreeSitterParser:
1457
1466
  for child in node.children:
1458
1467
  if child.type in ("type_identifier", "simple_identifier"):
1459
1468
  class_name = self._get_node_text(child)
1469
+ # Same convention as functions: an annotated
1470
+ # class node starts at its annotation line;
1471
+ # report the declaration line (#1660).
1472
+ start_line = child.start_point[0] + 1
1460
1473
  break
1461
1474
 
1462
1475
  source_text = self._get_node_text(node)
@@ -162,7 +162,10 @@ class PhpTreeSitterParser:
162
162
  return (
163
163
  self._get_node_text(name_node) if name_node else None,
164
164
  curr.type,
165
- curr.start_point[0] + 1,
165
+ # Name-node line: attributed declarations start at their
166
+ # #[Attribute], and consumers join this against the
167
+ # declaration's line_number (#1660).
168
+ (name_node.start_point[0] + 1) if name_node else (curr.start_point[0] + 1),
166
169
  )
167
170
  curr = curr.parent
168
171
  return None, None, None
@@ -189,7 +192,7 @@ class PhpTreeSitterParser:
189
192
  if curr.type in ("class_declaration", "interface_declaration", "trait_declaration", "enum_declaration"):
190
193
  name_node = curr.child_by_field_name("name")
191
194
  name = self._get_node_text(name_node) if name_node else None
192
- return (name, curr.start_point[0] + 1) if name else None
195
+ return (name, name_node.start_point[0] + 1) if name else None
193
196
  curr = curr.parent
194
197
  return None
195
198
 
@@ -245,6 +248,11 @@ class PhpTreeSitterParser:
245
248
  name_node = node.child_by_field_name("name")
246
249
  if name_node:
247
250
  func_name = self._get_node_text(name_node)
251
+ # #[Attribute] lines are part of the declaration node,
252
+ # so node.start_point is the attribute line; report the
253
+ # declaration proper (python/csharp/kotlin convention,
254
+ # #1660).
255
+ start_line = name_node.start_point[0] + 1
248
256
 
249
257
  params_node = node.child_by_field_name("parameters")
250
258
  parameters = []
@@ -321,6 +329,9 @@ class PhpTreeSitterParser:
321
329
  name_node = node.child_by_field_name("name")
322
330
  if name_node:
323
331
  type_name = self._get_node_text(name_node)
332
+ # Same convention as functions: attributes are children
333
+ # of the declaration node (#1660).
334
+ start_line = name_node.start_point[0] + 1
324
335
  source_text = self._get_node_text(node)
325
336
 
326
337
  bases = []
@@ -49,6 +49,14 @@ RUBY_QUERIES = {
49
49
  left: (instance_variable) @name
50
50
  right: (_) @value
51
51
  )
52
+ (assignment
53
+ left: (class_variable) @name
54
+ right: (_) @value
55
+ )
56
+ (assignment
57
+ left: (global_variable) @name
58
+ right: (_) @value
59
+ )
52
60
  """,
53
61
  "comments": """
54
62
  (comment) @comment
@@ -537,7 +545,12 @@ class RubyTreeSitterParser:
537
545
  while current and current.type != 'assignment':
538
546
  current = current.parent
539
547
  if current:
540
- assignment_id = id(current)
548
+ # id() of a tree-sitter node is a fresh wrapper each
549
+ # access (n1 == n2 while id(n1) != id(n2)), which split
550
+ # the @name/@value captures of ONE assignment into two
551
+ # buckets — value was always None (#1660). Key on the
552
+ # node's span instead.
553
+ assignment_id = (current.start_byte, current.end_byte)
541
554
  if assignment_id not in captures_by_assignment:
542
555
  captures_by_assignment[assignment_id] = {'node': current, 'name': None, 'value': None}
543
556
  captures_by_assignment[assignment_id]['name'] = self._get_node_text(node)
@@ -547,7 +560,7 @@ class RubyTreeSitterParser:
547
560
  while current and current.type != 'assignment':
548
561
  current = current.parent
549
562
  if current:
550
- assignment_id = id(current)
563
+ assignment_id = (current.start_byte, current.end_byte)
551
564
  if assignment_id not in captures_by_assignment:
552
565
  captures_by_assignment[assignment_id] = {'node': current, 'name': None, 'value': None}
553
566
  captures_by_assignment[assignment_id]['value'] = self._get_node_text(node)
@@ -560,10 +573,12 @@ class RubyTreeSitterParser:
560
573
  if name:
561
574
  # Determine variable type based on name prefix
562
575
  var_type = "local"
563
- if name.startswith("@"):
564
- var_type = "instance"
565
- elif name.startswith("@@"):
576
+ # @@ must be tested before @: startswith("@") matches
577
+ # "@@count" too, which left the class branch dead (#1660).
578
+ if name.startswith("@@"):
566
579
  var_type = "class"
580
+ elif name.startswith("@"):
581
+ var_type = "instance"
567
582
  elif name.startswith("$"):
568
583
  var_type = "global"
569
584
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codegraphcontext
3
- Version: 0.6.5
3
+ Version: 0.6.7
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
@@ -258,7 +258,12 @@ flowchart LR
258
258
  ---
259
259
 
260
260
  ## Star History
261
- [![Star History Chart](https://api.star-history.com/svg?repos=CodeGraphContext/CodeGraphContext&type=Date)](https://www.star-history.com/#CodeGraphContext/CodeGraphContext&Date)
261
+ [Star History Chart](https://www.star-history.com/#CodeGraphContext/CodeGraphContext&Date)
262
+ <!-- The inline chart image is temporarily removed: api.star-history.com currently
263
+ renders "GitHub restricted access to star data" instead of the chart
264
+ (GitHub-side restriction, see PR #1642). Restore the image once the
265
+ official service recovers:
266
+ [![Star History Chart](https://api.star-history.com/svg?repos=CodeGraphContext/CodeGraphContext&type=Date)](https://www.star-history.com/#CodeGraphContext/CodeGraphContext&Date) -->
262
267
 
263
268
  ---
264
269