codegraphcontext 0.6.12__tar.gz → 0.6.13__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.12/src/codegraphcontext.egg-info → codegraphcontext-0.6.13}/PKG-INFO +1 -1
  2. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/pyproject.toml +1 -1
  3. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/database_embedded_kuzu.py +46 -3
  4. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/server.py +14 -5
  5. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13/src/codegraphcontext.egg-info}/PKG-INFO +1 -1
  6. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/LICENSE +0 -0
  7. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/MANIFEST.in +0 -0
  8. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/README.md +0 -0
  9. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/setup.cfg +0 -0
  10. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/__init__.py +0 -0
  11. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/__main__.py +0 -0
  12. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/api/__init__.py +0 -0
  13. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/api/app.py +0 -0
  14. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/api/auth.py +0 -0
  15. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/api/mcp_sse.py +0 -0
  16. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/api/router.py +0 -0
  17. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/api/schemas.py +0 -0
  18. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/__init__.py +0 -0
  19. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/cli_helpers.py +0 -0
  20. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/config_manager.py +0 -0
  21. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/hook_manager.py +0 -0
  22. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/main.py +0 -0
  23. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/project_config.py +0 -0
  24. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/registry_commands.py +0 -0
  25. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/setup_macos.py +0 -0
  26. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/setup_wizard.py +0 -0
  27. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/simulator.py +0 -0
  28. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/cli/visualizer.py +0 -0
  29. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/__init__.py +0 -0
  30. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/bundle_registry.py +0 -0
  31. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/cgc_bundle.py +0 -0
  32. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/cgcignore.py +0 -0
  33. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/database.py +0 -0
  34. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/database_falkordb.py +0 -0
  35. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/database_falkordb_remote.py +0 -0
  36. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/database_kuzu.py +0 -0
  37. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/database_ladybug.py +0 -0
  38. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/database_nornic.py +0 -0
  39. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/falkor_worker.py +0 -0
  40. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/graph_query.py +0 -0
  41. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/jobs.py +0 -0
  42. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/simulator.py +0 -0
  43. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/core/watcher.py +0 -0
  44. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/prompts.py +0 -0
  45. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/stdlibs.py +0 -0
  46. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tool_definitions.py +0 -0
  47. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/__init__.py +0 -0
  48. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/advanced_language_query_tool.py +0 -0
  49. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/code_finder.py +0 -0
  50. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/datasources/__init__.py +0 -0
  51. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/datasources/cassandra_ingester.py +0 -0
  52. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/datasources/mysql_ingester.py +0 -0
  53. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/datasources/redis_ingester.py +0 -0
  54. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/graph_builder.py +0 -0
  55. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/handlers/analysis_handlers.py +0 -0
  56. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/handlers/indexing_handlers.py +0 -0
  57. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/handlers/management_handlers.py +0 -0
  58. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/handlers/query_handlers.py +0 -0
  59. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/handlers/watcher_handlers.py +0 -0
  60. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/__init__.py +0 -0
  61. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/constants.py +0 -0
  62. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/discovery.py +0 -0
  63. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/embeddings.py +0 -0
  64. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/persistence/__init__.py +0 -0
  65. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/persistence/utils.py +0 -0
  66. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/persistence/writer.py +0 -0
  67. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/pipeline.py +0 -0
  68. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/pre_scan.py +0 -0
  69. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/resolution/__init__.py +0 -0
  70. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/resolution/calls.py +0 -0
  71. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/resolution/inheritance.py +0 -0
  72. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/resolution/post_resolution.py +0 -0
  73. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/sanitize.py +0 -0
  74. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/schema.py +0 -0
  75. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/schema_contract.py +0 -0
  76. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/scip_pipeline.py +0 -0
  77. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/indexing/vector_resolver.py +0 -0
  78. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/c.py +0 -0
  79. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/cpp.py +0 -0
  80. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/csharp.py +0 -0
  81. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/css.py +0 -0
  82. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/dart.py +0 -0
  83. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/elisp.py +0 -0
  84. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/elixir.py +0 -0
  85. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/go.py +0 -0
  86. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/gradle.py +0 -0
  87. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/haskell.py +0 -0
  88. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/html.py +0 -0
  89. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/java.py +0 -0
  90. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/javascript.py +0 -0
  91. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/kotlin.py +0 -0
  92. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/lua.py +0 -0
  93. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/maven.py +0 -0
  94. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/mybatis.py +0 -0
  95. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/perl.py +0 -0
  96. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/php.py +0 -0
  97. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/python.py +0 -0
  98. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/ruby.py +0 -0
  99. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/rust.py +0 -0
  100. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/scala.py +0 -0
  101. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/sfc_common.py +0 -0
  102. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/solidity.py +0 -0
  103. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/solidity_remappings.py +0 -0
  104. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/svelte.py +0 -0
  105. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/swift.py +0 -0
  106. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/typescript.py +0 -0
  107. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/typescriptjsx.py +0 -0
  108. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/languages/vue.py +0 -0
  109. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/package_resolver.py +0 -0
  110. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/c_toolkit.py +0 -0
  111. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/cpp_toolkit.py +0 -0
  112. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/csharp_toolkit.py +0 -0
  113. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/dart_toolkit.py +0 -0
  114. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/elisp_toolkit.py +0 -0
  115. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/go_toolkit.py +0 -0
  116. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/haskell_toolkit.py +0 -0
  117. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/java_toolkit.py +0 -0
  118. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/javascript_toolkit.py +0 -0
  119. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/perl_toolkit.py +0 -0
  120. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/python_toolkit.py +0 -0
  121. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/ruby_toolkit.py +0 -0
  122. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/rust_toolkit.py +0 -0
  123. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/scala_toolkit.py +0 -0
  124. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/solidity_toolkit.py +0 -0
  125. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/swift_toolkit.py +0 -0
  126. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/query_tool_languages/typescript_toolkit.py +0 -0
  127. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/report_generator.py +0 -0
  128. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/scip_indexer.py +0 -0
  129. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/scip_pb2.py +0 -0
  130. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/system.py +0 -0
  131. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/tree_sitter_parser.py +0 -0
  132. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/tools/type_utils.py +0 -0
  133. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/cypher_ddl.py +0 -0
  134. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/cypher_readonly.py +0 -0
  135. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/debug_log.py +0 -0
  136. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/gcf_encoder.py +0 -0
  137. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/git_utils.py +0 -0
  138. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/graph_shapes.py +0 -0
  139. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/path_ignore.py +0 -0
  140. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/path_sandbox.py +0 -0
  141. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/repo_path.py +0 -0
  142. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/secret_scanner.py +0 -0
  143. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/tool_limits.py +0 -0
  144. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/tree_sitter_manager.py +0 -0
  145. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/utils/visualize_graph.py +0 -0
  146. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/assets/__vite-browser-external-9wXp6ZBx.js +0 -0
  147. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/assets/function-calls-BtRHrqa2.png +0 -0
  148. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/assets/graph-total-D1fBAugo.png +0 -0
  149. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/assets/hero-graph-2voMJp2a.jpg +0 -0
  150. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/assets/hierarchy-DGADo0YT.png +0 -0
  151. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/assets/index-C-187lf0.js +0 -0
  152. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/assets/index-fNAa6jgv.css +0 -0
  153. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/assets/parser-pyodide.worker-BgsDfaad.js +0 -0
  154. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/assets/parser.worker-_nvrecvj.js +0 -0
  155. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/assets/tree-sitter-qKYAACSa.wasm +0 -0
  156. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/cgcIcon.png +0 -0
  157. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/favicon.ico +0 -0
  158. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/index.html +0 -0
  159. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/logo-icon.svg +0 -0
  160. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/logo.svg +0 -0
  161. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/placeholder.svg +0 -0
  162. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/preview-image.png +0 -0
  163. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/robots.txt +0 -0
  164. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c.wasm +0 -0
  165. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-c_sharp.wasm +0 -0
  166. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-core.js +0 -0
  167. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-cpp.wasm +0 -0
  168. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-dart.wasm +0 -0
  169. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-go.wasm +0 -0
  170. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-java.wasm +0 -0
  171. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-javascript.wasm +0 -0
  172. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-kotlin.wasm +0 -0
  173. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-perl.wasm +0 -0
  174. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-php.wasm +0 -0
  175. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-python.wasm +0 -0
  176. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-ruby.wasm +0 -0
  177. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-rust.wasm +0 -0
  178. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-swift.wasm +0 -0
  179. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-tsx.wasm +0 -0
  180. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter-typescript.wasm +0 -0
  181. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/tree-sitter.wasm +0 -0
  182. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.js +0 -0
  183. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/dist/wasm/web-tree-sitter.wasm +0 -0
  184. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext/viz/server.py +0 -0
  185. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext.egg-info/SOURCES.txt +0 -0
  186. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext.egg-info/dependency_links.txt +0 -0
  187. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext.egg-info/entry_points.txt +0 -0
  188. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext.egg-info/requires.txt +0 -0
  189. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/src/codegraphcontext.egg-info/top_level.txt +0 -0
  190. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/tests/test_issue_806_fix.py +0 -0
  191. {codegraphcontext-0.6.12 → codegraphcontext-0.6.13}/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.12
3
+ Version: 0.6.13
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.12"
3
+ version = "0.6.13"
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"
@@ -32,16 +32,59 @@ DEFAULT_EMBEDDED_BUFFER_POOL_BYTES = 4 * 1024**3
32
32
  MIN_DEFAULT_BUFFER_POOL_BYTES = 256 * 1024**2
33
33
 
34
34
 
35
+ def _cgroup_available_bytes():
36
+ """Memory headroom under the container's cgroup limit, or None when
37
+ unconfined. /proc/meminfo shows the HOST inside a container, so a pod
38
+ capped at 1 GiB on a 64 GiB host would otherwise size a 4 GiB pool and
39
+ be OOM-killed natively at first touch."""
40
+ # cgroup v2 (unified hierarchy)
41
+ try:
42
+ with open("/sys/fs/cgroup/memory.max") as f:
43
+ raw = f.read().strip()
44
+ if raw != "max":
45
+ limit = int(raw)
46
+ usage = 0
47
+ try:
48
+ with open("/sys/fs/cgroup/memory.current") as f:
49
+ usage = int(f.read().strip())
50
+ except (OSError, ValueError):
51
+ pass
52
+ return max(limit - usage, 0)
53
+ except (OSError, ValueError):
54
+ pass
55
+ # cgroup v1
56
+ try:
57
+ with open("/sys/fs/cgroup/memory/memory.limit_in_bytes") as f:
58
+ limit = int(f.read().strip())
59
+ if limit < 1 << 60: # v1 reports ~8 EiB when unlimited
60
+ usage = 0
61
+ try:
62
+ with open("/sys/fs/cgroup/memory/memory.usage_in_bytes") as f:
63
+ usage = int(f.read().strip())
64
+ except (OSError, ValueError):
65
+ pass
66
+ return max(limit - usage, 0)
67
+ except (OSError, ValueError):
68
+ pass
69
+ return None
70
+
71
+
35
72
  def _available_memory_bytes():
36
- """MemAvailable from /proc/meminfo, or None where unavailable (macOS…)."""
73
+ """The tighter of host MemAvailable (/proc/meminfo) and the cgroup
74
+ memory headroom, or None where neither is readable (macOS…)."""
75
+ host = None
37
76
  try:
38
77
  with open("/proc/meminfo") as f:
39
78
  for line in f:
40
79
  if line.startswith("MemAvailable:"):
41
- return int(line.split()[1]) * 1024
80
+ host = int(line.split()[1]) * 1024
81
+ break
42
82
  except OSError:
43
83
  pass
44
- return None
84
+ cgroup = _cgroup_available_bytes()
85
+ if host is not None and cgroup is not None:
86
+ return min(host, cgroup)
87
+ return host if host is not None else cgroup
45
88
 
46
89
 
47
90
  def resolve_embedded_buffer_pool_size() -> int:
@@ -803,6 +803,11 @@ class MCPServer:
803
803
  async def _run_loop(self, loop):
804
804
  request_count = 0
805
805
  while True:
806
+ # Reset per iteration: on a parse error `request` would otherwise
807
+ # still hold the PREVIOUS request, and the error response would
808
+ # reuse its id — a second response for an already-answered id,
809
+ # which desyncs clients that match responses by id.
810
+ request = None
806
811
  try:
807
812
  if request_count and request_count % 50 == 0:
808
813
  self.job_manager.cleanup_old_jobs(max_age_hours=24)
@@ -880,15 +885,19 @@ class MCPServer:
880
885
 
881
886
  except Exception as e:
882
887
  error_logger(f"Error processing request: {e}\n{traceback.format_exc()}")
883
- request_id = "unknown"
884
- if 'request' in locals() and isinstance(request, dict):
885
- request_id = request.get('id', "unknown")
888
+ # JSON-RPC: parse errors respond with id null and -32700;
889
+ # errors while handling a parsed request keep that request's id.
890
+ request_id = request.get('id') if isinstance(request, dict) else None
891
+ is_parse_error = not isinstance(request, dict)
886
892
 
887
893
  error_response = {
888
894
  "jsonrpc": "2.0", "id": request_id,
889
895
  "error": {
890
- "code": -32603,
891
- "message": f"Internal error: {str(e)}",
896
+ "code": -32700 if is_parse_error else -32603,
897
+ "message": (
898
+ f"Parse error: {str(e)}" if is_parse_error
899
+ else f"Internal error: {str(e)}"
900
+ ),
892
901
  },
893
902
  }
894
903
  print(json.dumps(error_response), flush=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codegraphcontext
3
- Version: 0.6.12
3
+ Version: 0.6.13
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