codegraphcontext 0.6.1__tar.gz → 0.6.2__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.1/src/codegraphcontext.egg-info → codegraphcontext-0.6.2}/PKG-INFO +1 -1
  2. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/pyproject.toml +1 -1
  3. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/database_embedded_kuzu.py +21 -10
  4. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/persistence/writer.py +17 -2
  5. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/pipeline.py +26 -4
  6. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/cpp.py +9 -5
  7. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2/src/codegraphcontext.egg-info}/PKG-INFO +1 -1
  8. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/LICENSE +0 -0
  9. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/MANIFEST.in +0 -0
  10. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/README.md +0 -0
  11. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/setup.cfg +0 -0
  12. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/__init__.py +0 -0
  13. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/__main__.py +0 -0
  14. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/api/__init__.py +0 -0
  15. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/api/app.py +0 -0
  16. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/api/auth.py +0 -0
  17. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/api/mcp_sse.py +0 -0
  18. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/api/router.py +0 -0
  19. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/api/schemas.py +0 -0
  20. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/__init__.py +0 -0
  21. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/cli_helpers.py +0 -0
  22. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/config_manager.py +0 -0
  23. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/hook_manager.py +0 -0
  24. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/main.py +0 -0
  25. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/project_config.py +0 -0
  26. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/registry_commands.py +0 -0
  27. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/setup_macos.py +0 -0
  28. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/setup_wizard.py +0 -0
  29. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/simulator.py +0 -0
  30. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/cli/visualizer.py +0 -0
  31. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/__init__.py +0 -0
  32. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/bundle_registry.py +0 -0
  33. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/cgc_bundle.py +0 -0
  34. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/cgcignore.py +0 -0
  35. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/database.py +0 -0
  36. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/database_falkordb.py +0 -0
  37. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/database_falkordb_remote.py +0 -0
  38. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/database_kuzu.py +0 -0
  39. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/database_ladybug.py +0 -0
  40. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/database_nornic.py +0 -0
  41. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/falkor_worker.py +0 -0
  42. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/graph_query.py +0 -0
  43. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/jobs.py +0 -0
  44. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/simulator.py +0 -0
  45. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/core/watcher.py +0 -0
  46. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/prompts.py +0 -0
  47. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/server.py +0 -0
  48. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/stdlibs.py +0 -0
  49. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tool_definitions.py +0 -0
  50. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/__init__.py +0 -0
  51. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/advanced_language_query_tool.py +0 -0
  52. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/code_finder.py +0 -0
  53. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/datasources/__init__.py +0 -0
  54. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/datasources/cassandra_ingester.py +0 -0
  55. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/datasources/mysql_ingester.py +0 -0
  56. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/datasources/redis_ingester.py +0 -0
  57. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/graph_builder.py +0 -0
  58. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/handlers/analysis_handlers.py +0 -0
  59. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/handlers/indexing_handlers.py +0 -0
  60. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/handlers/management_handlers.py +0 -0
  61. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/handlers/query_handlers.py +0 -0
  62. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/handlers/watcher_handlers.py +0 -0
  63. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/__init__.py +0 -0
  64. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/constants.py +0 -0
  65. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/discovery.py +0 -0
  66. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/embeddings.py +0 -0
  67. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/persistence/__init__.py +0 -0
  68. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/persistence/utils.py +0 -0
  69. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/pre_scan.py +0 -0
  70. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/resolution/__init__.py +0 -0
  71. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/resolution/calls.py +0 -0
  72. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/resolution/inheritance.py +0 -0
  73. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/resolution/post_resolution.py +0 -0
  74. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/sanitize.py +0 -0
  75. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/schema.py +0 -0
  76. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/schema_contract.py +0 -0
  77. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/scip_pipeline.py +0 -0
  78. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/indexing/vector_resolver.py +0 -0
  79. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/c.py +0 -0
  80. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/csharp.py +0 -0
  81. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/css.py +0 -0
  82. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/dart.py +0 -0
  83. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/elisp.py +0 -0
  84. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/elixir.py +0 -0
  85. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/go.py +0 -0
  86. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/gradle.py +0 -0
  87. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/haskell.py +0 -0
  88. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/html.py +0 -0
  89. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/java.py +0 -0
  90. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/javascript.py +0 -0
  91. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/kotlin.py +0 -0
  92. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/lua.py +0 -0
  93. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/maven.py +0 -0
  94. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/mybatis.py +0 -0
  95. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/perl.py +0 -0
  96. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/php.py +0 -0
  97. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/python.py +0 -0
  98. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/ruby.py +0 -0
  99. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/rust.py +0 -0
  100. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/scala.py +0 -0
  101. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/sfc_common.py +0 -0
  102. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/solidity.py +0 -0
  103. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/solidity_remappings.py +0 -0
  104. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/svelte.py +0 -0
  105. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/swift.py +0 -0
  106. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/typescript.py +0 -0
  107. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/typescriptjsx.py +0 -0
  108. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/languages/vue.py +0 -0
  109. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/package_resolver.py +0 -0
  110. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/c_toolkit.py +0 -0
  111. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/cpp_toolkit.py +0 -0
  112. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/csharp_toolkit.py +0 -0
  113. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/dart_toolkit.py +0 -0
  114. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/elisp_toolkit.py +0 -0
  115. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/go_toolkit.py +0 -0
  116. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/haskell_toolkit.py +0 -0
  117. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/java_toolkit.py +0 -0
  118. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/javascript_toolkit.py +0 -0
  119. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/perl_toolkit.py +0 -0
  120. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/python_toolkit.py +0 -0
  121. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/ruby_toolkit.py +0 -0
  122. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/rust_toolkit.py +0 -0
  123. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/scala_toolkit.py +0 -0
  124. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/solidity_toolkit.py +0 -0
  125. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/swift_toolkit.py +0 -0
  126. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/query_tool_languages/typescript_toolkit.py +0 -0
  127. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/report_generator.py +0 -0
  128. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/scip_indexer.py +0 -0
  129. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/scip_pb2.py +0 -0
  130. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/system.py +0 -0
  131. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/tree_sitter_parser.py +0 -0
  132. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/tools/type_utils.py +0 -0
  133. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/cypher_ddl.py +0 -0
  134. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/cypher_readonly.py +0 -0
  135. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/debug_log.py +0 -0
  136. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/gcf_encoder.py +0 -0
  137. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/git_utils.py +0 -0
  138. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/path_ignore.py +0 -0
  139. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/path_sandbox.py +0 -0
  140. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/repo_path.py +0 -0
  141. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/secret_scanner.py +0 -0
  142. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/tool_limits.py +0 -0
  143. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/tree_sitter_manager.py +0 -0
  144. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/utils/visualize_graph.py +0 -0
  145. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/assets/__vite-browser-external-9wXp6ZBx.js +0 -0
  146. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/assets/function-calls-BtRHrqa2.png +0 -0
  147. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/assets/graph-total-D1fBAugo.png +0 -0
  148. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/assets/hero-graph-2voMJp2a.jpg +0 -0
  149. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/assets/hierarchy-DGADo0YT.png +0 -0
  150. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/assets/index-C-187lf0.js +0 -0
  151. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/assets/index-fNAa6jgv.css +0 -0
  152. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/assets/parser-pyodide.worker-BgsDfaad.js +0 -0
  153. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/assets/parser.worker-_nvrecvj.js +0 -0
  154. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/assets/tree-sitter-qKYAACSa.wasm +0 -0
  155. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/cgcIcon.png +0 -0
  156. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/favicon.ico +0 -0
  157. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/index.html +0 -0
  158. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/logo-icon.svg +0 -0
  159. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/logo.svg +0 -0
  160. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/placeholder.svg +0 -0
  161. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/preview-image.png +0 -0
  162. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/robots.txt +0 -0
  163. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c.wasm +0 -0
  164. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c_sharp.wasm +0 -0
  165. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-core.js +0 -0
  166. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-cpp.wasm +0 -0
  167. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-dart.wasm +0 -0
  168. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-go.wasm +0 -0
  169. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-java.wasm +0 -0
  170. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-javascript.wasm +0 -0
  171. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-kotlin.wasm +0 -0
  172. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-perl.wasm +0 -0
  173. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-php.wasm +0 -0
  174. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-python.wasm +0 -0
  175. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-ruby.wasm +0 -0
  176. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-rust.wasm +0 -0
  177. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-swift.wasm +0 -0
  178. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-tsx.wasm +0 -0
  179. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter-typescript.wasm +0 -0
  180. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/tree-sitter.wasm +0 -0
  181. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.js +0 -0
  182. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.wasm +0 -0
  183. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext/viz/server.py +0 -0
  184. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext.egg-info/SOURCES.txt +0 -0
  185. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext.egg-info/dependency_links.txt +0 -0
  186. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext.egg-info/entry_points.txt +0 -0
  187. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext.egg-info/requires.txt +0 -0
  188. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/src/codegraphcontext.egg-info/top_level.txt +0 -0
  189. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/tests/test_issue_806_fix.py +0 -0
  190. {codegraphcontext-0.6.1 → codegraphcontext-0.6.2}/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.1
3
+ Version: 0.6.2
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "codegraphcontext"
3
- version = "0.6.1"
3
+ version = "0.6.2"
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"
@@ -798,21 +798,32 @@ class EmbeddedSessionWrapper:
798
798
  translated_query, translated_params = self._translate_query(query, parameters)
799
799
  debug_log(f"Translated Query: {translated_query[:200]}")
800
800
  try:
801
- # Force loop fallback for relationship writes inside UNWIND to avoid Kuzu query planner bugs
802
- # which can incorrectly bind/corrupt relationship endpoints across rows in the batch.
803
- # Only force it for `UNWIND $param AS row`, the single shape the
804
- # recovery path below can rewrite into a per-row loop. Read queries
805
- # that unwind a bound list (`WITH relationships(p) AS rels UNWIND
806
- # rels AS r`, used by find_all_callers/find_all_callees and the
807
- # visualizer) matched this guard too, but no `$`-UNWIND for the
808
- # fallback to latch onto so the fabricated exception fell through
809
- # every handler and surfaced to the caller as a hard failure.
801
+ # Force the per-row loop fallback ONLY for UNWIND batches containing a
802
+ # node-MERGE. Kùzu's MERGE pipeline mis-binds when a merged node's key
803
+ # value repeats NON-adjacently across the batch: in
804
+ # [(A,P), (B,X), (C,P)] the C row binds to X's node instead of
805
+ # re-matching P (reproduced on Kùzu 0.11.3; see #1605). Relationship-only
806
+ # MERGEs (MATCH … MATCH … MERGE (a)-[r]->(b)) do not exhibit the bug —
807
+ # verified with interleaved duplicate endpoint keys and duplicate pairs
808
+ # so they now run batched, which removes the bulk of the per-row planner
809
+ # overhead (~2.4x on a full index of the Python sample project).
810
+ # Only `UNWIND $param AS row` shapes are guarded — that is the single
811
+ # shape the recovery path below can rewrite into a per-row loop. Read
812
+ # queries that unwind a bound list (`WITH relationships(p) AS rels
813
+ # UNWIND rels AS r`) must not match, or the fabricated exception would
814
+ # surface to the caller as a hard failure.
815
+ # Node-only UNWIND writes (`MERGE (n:Label {…}) SET n += row`, no
816
+ # relationship pattern) have always batched through the SET-expansion
817
+ # path and the per-row rewriter cannot handle their bare `SET n += row`,
818
+ # so the guard additionally requires a relationship pattern.
819
+ _has_node_merge = re.search(r"MERGE\s*\(\s*\w+\s*:", query)
810
820
  if (
811
821
  re.search(r"UNWIND\s+\$\w+\s+AS\s+\w+", query)
812
822
  and ("-[" in query or "]->" in query)
823
+ and _has_node_merge
813
824
  and not getattr(self, "_skip_unwind_fallback", False)
814
825
  ):
815
- raise Exception("unordered_map::at (forced fallback to avoid relationship UNWIND planner bugs)")
826
+ raise Exception("unordered_map::at (forced fallback: node-MERGE inside UNWIND mis-binds repeated keys)")
816
827
 
817
828
  # 2. Execute under the lock. _write_lock (name kept for backward
818
829
  # compat) now serializes ALL access, reads included: kuzu.Connection
@@ -1138,8 +1138,23 @@ class GraphWriter:
1138
1138
  batch_size = 500
1139
1139
  backend = get_backend_type(self.driver, self._db_manager)
1140
1140
  def _work(session):
1141
- internal_batch = [r for r in inheritance_batch if r.get("resolved_parent_file_path") != "__external__"]
1142
- external_batch = [r for r in inheritance_batch if r.get("resolved_parent_file_path") == "__external__"]
1141
+ # Dedupe identical rows first: parsers can emit the same
1142
+ # (child, parent) record more than once, and while Neo4j's MERGE
1143
+ # absorbs the repeat, the embedded backends' rewritten
1144
+ # node-MERGE+rel-MERGE shape has been observed writing a duplicate
1145
+ # INHERITS edge for it. Deduping is correct on every backend.
1146
+ seen_rows: set = set()
1147
+ deduped_batch: List[Dict[str, Any]] = []
1148
+ for r in inheritance_batch:
1149
+ key = (r.get("child_name"), r.get("path"), r.get("parent_name"),
1150
+ r.get("resolved_parent_file_path"))
1151
+ if key in seen_rows:
1152
+ continue
1153
+ seen_rows.add(key)
1154
+ deduped_batch.append(r)
1155
+
1156
+ internal_batch = [r for r in deduped_batch if r.get("resolved_parent_file_path") != "__external__"]
1157
+ external_batch = [r for r in deduped_batch if r.get("resolved_parent_file_path") == "__external__"]
1143
1158
 
1144
1159
  labels = ("Class", "Trait", "Interface", "Struct", "Enum", "Union", "Record", "Mixin", "Extension", "Module", "Object", "Variable")
1145
1160
 
@@ -201,10 +201,32 @@ async def run_tree_sitter_index_async(
201
201
  # it to this file's path string turned a single recoverable write
202
202
  # failure into an AttributeError that aborted the whole job.
203
203
  failed_path = file_data.get("path")
204
- write_failures.append({"path": failed_path, "error": str(exc)})
205
- error_logger(f"Failed to write {failed_path} to the graph: {exc}")
206
- file_data["error"] = str(exc)
207
- file_data["parse_failed"] = True
204
+ # Retry once before giving up: writes are MERGE-idempotent, and a
205
+ # transient failure under runner load silently costs the graph the
206
+ # whole file's edges (observed as LadybugDB intermittently writing
207
+ # ~51 fewer CONTAINS edges in the parity run, #1612).
208
+ retried_ok = False
209
+ if "error" not in file_data:
210
+ try:
211
+ await asyncio.sleep(0.2)
212
+ await asyncio.to_thread(
213
+ writer.add_file_to_graph,
214
+ file_data,
215
+ repo_name,
216
+ imports_map,
217
+ repo_path_str=resolved_repo_path_str,
218
+ )
219
+ retried_ok = True
220
+ warning_logger(
221
+ f"Write for {failed_path} succeeded on retry after: {exc}"
222
+ )
223
+ except Exception as retry_exc: # noqa: BLE001
224
+ exc = retry_exc
225
+ if not retried_ok:
226
+ write_failures.append({"path": failed_path, "error": str(exc)})
227
+ error_logger(f"Failed to write {failed_path} to the graph: {exc}")
228
+ file_data["error"] = str(exc)
229
+ file_data["parse_failed"] = True
208
230
 
209
231
  if write_failures:
210
232
  warning_logger(
@@ -519,11 +519,7 @@ class CppTreeSitterParser:
519
519
  if lambda_node is None or lambda_node.type != 'lambda_expression':
520
520
  continue
521
521
 
522
- params_node = lambda_node.child_by_field_name('declarator')
523
- if params_node:
524
- params_node = params_node.child_by_field_name('parameters')
525
522
  name = self._get_node_text(node)
526
- params_node = lambda_node.child_by_field_name('parameters')
527
523
 
528
524
  context, context_type, _ = self._get_parent_context(assignment_node)
529
525
  class_context, _, _ = self._get_parent_context(assignment_node, types=('class_specifier',))
@@ -532,7 +528,15 @@ class CppTreeSitterParser:
532
528
  "name": name,
533
529
  "line_number": node.start_point[0] + 1,
534
530
  "end_line": assignment_node.end_point[0] + 1,
535
- "args": [p for p in [self._get_node_text(p) for p in params_node.children if p.type == 'identifier'] if p] if params_node else [],
531
+ # lambda_expression carries the same declarator→parameters
532
+ # field chain as a function_definition, so the shared
533
+ # extractor handles parameter_declaration unwrapping
534
+ # (pointers/refs included). The old inline version first
535
+ # clobbered its correctly-walked parameter_list with a
536
+ # nonexistent field and then filtered for bare identifiers
537
+ # over parameter_declaration nodes — every lambda got
538
+ # args: [] (#1527, case 5).
539
+ "args": self._extract_function_params(lambda_node),
536
540
 
537
541
  "docstring": None,
538
542
  "cyclomatic_complexity": 1,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codegraphcontext
3
- Version: 0.6.1
3
+ Version: 0.6.2
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