index-it-mcp 1.2.0__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 (456) hide show
  1. index_it_mcp-1.2.0/LICENSE +21 -0
  2. index_it_mcp-1.2.0/PKG-INFO +1375 -0
  3. index_it_mcp-1.2.0/README.md +1261 -0
  4. index_it_mcp-1.2.0/index_it_mcp.egg-info/PKG-INFO +1375 -0
  5. index_it_mcp-1.2.0/index_it_mcp.egg-info/SOURCES.txt +454 -0
  6. index_it_mcp-1.2.0/index_it_mcp.egg-info/dependency_links.txt +1 -0
  7. index_it_mcp-1.2.0/index_it_mcp.egg-info/entry_points.txt +4 -0
  8. index_it_mcp-1.2.0/index_it_mcp.egg-info/requires.txt +100 -0
  9. index_it_mcp-1.2.0/index_it_mcp.egg-info/top_level.txt +1 -0
  10. index_it_mcp-1.2.0/mcp_server/__init__.py +35 -0
  11. index_it_mcp-1.2.0/mcp_server/artifacts/__init__.py +47 -0
  12. index_it_mcp-1.2.0/mcp_server/artifacts/artifact_download.py +822 -0
  13. index_it_mcp-1.2.0/mcp_server/artifacts/artifact_upload.py +484 -0
  14. index_it_mcp-1.2.0/mcp_server/artifacts/attestation.py +164 -0
  15. index_it_mcp-1.2.0/mcp_server/artifacts/commit_artifacts.py +396 -0
  16. index_it_mcp-1.2.0/mcp_server/artifacts/delta_artifacts.py +169 -0
  17. index_it_mcp-1.2.0/mcp_server/artifacts/delta_policy.py +52 -0
  18. index_it_mcp-1.2.0/mcp_server/artifacts/delta_resolver.py +63 -0
  19. index_it_mcp-1.2.0/mcp_server/artifacts/freshness.py +51 -0
  20. index_it_mcp-1.2.0/mcp_server/artifacts/integrity_gate.py +146 -0
  21. index_it_mcp-1.2.0/mcp_server/artifacts/manifest_v2.py +247 -0
  22. index_it_mcp-1.2.0/mcp_server/artifacts/multi_repo_artifact_coordinator.py +287 -0
  23. index_it_mcp-1.2.0/mcp_server/artifacts/profile_hydration.py +204 -0
  24. index_it_mcp-1.2.0/mcp_server/artifacts/provider_factory.py +115 -0
  25. index_it_mcp-1.2.0/mcp_server/artifacts/providers/__init__.py +5 -0
  26. index_it_mcp-1.2.0/mcp_server/artifacts/providers/azure.py +30 -0
  27. index_it_mcp-1.2.0/mcp_server/artifacts/providers/base.py +54 -0
  28. index_it_mcp-1.2.0/mcp_server/artifacts/providers/gcs.py +30 -0
  29. index_it_mcp-1.2.0/mcp_server/artifacts/providers/github_actions.py +303 -0
  30. index_it_mcp-1.2.0/mcp_server/artifacts/providers/local_fs.py +62 -0
  31. index_it_mcp-1.2.0/mcp_server/artifacts/providers/s3.py +30 -0
  32. index_it_mcp-1.2.0/mcp_server/artifacts/publisher.py +256 -0
  33. index_it_mcp-1.2.0/mcp_server/artifacts/retention.py +40 -0
  34. index_it_mcp-1.2.0/mcp_server/artifacts/routing_policy.py +116 -0
  35. index_it_mcp-1.2.0/mcp_server/artifacts/secure_export.py +266 -0
  36. index_it_mcp-1.2.0/mcp_server/artifacts/semantic_namespace.py +55 -0
  37. index_it_mcp-1.2.0/mcp_server/artifacts/semantic_profiles.py +248 -0
  38. index_it_mcp-1.2.0/mcp_server/benchmarks/__init__.py +46 -0
  39. index_it_mcp-1.2.0/mcp_server/benchmarks/__main__.py +8 -0
  40. index_it_mcp-1.2.0/mcp_server/benchmarks/benchmark_runner.py +747 -0
  41. index_it_mcp-1.2.0/mcp_server/benchmarks/benchmark_suite.py +821 -0
  42. index_it_mcp-1.2.0/mcp_server/benchmarks/mcp_comparison_benchmark.py +487 -0
  43. index_it_mcp-1.2.0/mcp_server/benchmarks/quick_comparison.py +311 -0
  44. index_it_mcp-1.2.0/mcp_server/benchmarks/run_baseline.py +1198 -0
  45. index_it_mcp-1.2.0/mcp_server/benchmarks/run_benchmarks.py +148 -0
  46. index_it_mcp-1.2.0/mcp_server/cache/__init__.py +79 -0
  47. index_it_mcp-1.2.0/mcp_server/cache/backends.py +708 -0
  48. index_it_mcp-1.2.0/mcp_server/cache/cache_manager.py +528 -0
  49. index_it_mcp-1.2.0/mcp_server/cache/query_cache.py +407 -0
  50. index_it_mcp-1.2.0/mcp_server/cli/__init__.py +50 -0
  51. index_it_mcp-1.2.0/mcp_server/cli/__main__.py +25 -0
  52. index_it_mcp-1.2.0/mcp_server/cli/artifact_commands.py +694 -0
  53. index_it_mcp-1.2.0/mcp_server/cli/bootstrap.py +258 -0
  54. index_it_mcp-1.2.0/mcp_server/cli/handshake.py +61 -0
  55. index_it_mcp-1.2.0/mcp_server/cli/index_commands.py +633 -0
  56. index_it_mcp-1.2.0/mcp_server/cli/index_management.py +642 -0
  57. index_it_mcp-1.2.0/mcp_server/cli/preflight_commands.py +237 -0
  58. index_it_mcp-1.2.0/mcp_server/cli/repository_commands.py +601 -0
  59. index_it_mcp-1.2.0/mcp_server/cli/retention_commands.py +66 -0
  60. index_it_mcp-1.2.0/mcp_server/cli/server_commands.py +65 -0
  61. index_it_mcp-1.2.0/mcp_server/cli/setup_commands.py +133 -0
  62. index_it_mcp-1.2.0/mcp_server/cli/stdio_runner.py +954 -0
  63. index_it_mcp-1.2.0/mcp_server/cli/tool_handlers.py +1191 -0
  64. index_it_mcp-1.2.0/mcp_server/config/__init__.py +56 -0
  65. index_it_mcp-1.2.0/mcp_server/config/env_vars.py +26 -0
  66. index_it_mcp-1.2.0/mcp_server/config/environment.py +190 -0
  67. index_it_mcp-1.2.0/mcp_server/config/index_paths.py +226 -0
  68. index_it_mcp-1.2.0/mcp_server/config/settings.py +773 -0
  69. index_it_mcp-1.2.0/mcp_server/config/validation.py +498 -0
  70. index_it_mcp-1.2.0/mcp_server/core/__init__.py +31 -0
  71. index_it_mcp-1.2.0/mcp_server/core/errors.py +137 -0
  72. index_it_mcp-1.2.0/mcp_server/core/ignore_patterns.py +269 -0
  73. index_it_mcp-1.2.0/mcp_server/core/logging.py +106 -0
  74. index_it_mcp-1.2.0/mcp_server/core/mcp_config_propagator.py +215 -0
  75. index_it_mcp-1.2.0/mcp_server/core/path_resolver.py +236 -0
  76. index_it_mcp-1.2.0/mcp_server/core/path_utils.py +355 -0
  77. index_it_mcp-1.2.0/mcp_server/core/preflight_validator.py +549 -0
  78. index_it_mcp-1.2.0/mcp_server/core/repo_context.py +35 -0
  79. index_it_mcp-1.2.0/mcp_server/core/repo_resolver.py +75 -0
  80. index_it_mcp-1.2.0/mcp_server/dependency_graph/__init__.py +19 -0
  81. index_it_mcp-1.2.0/mcp_server/dependency_graph/aggregator.py +51 -0
  82. index_it_mcp-1.2.0/mcp_server/dependency_graph/ecosystems/__init__.py +1 -0
  83. index_it_mcp-1.2.0/mcp_server/dependency_graph/ecosystems/cargo.py +26 -0
  84. index_it_mcp-1.2.0/mcp_server/dependency_graph/ecosystems/go.py +22 -0
  85. index_it_mcp-1.2.0/mcp_server/dependency_graph/ecosystems/npm.py +24 -0
  86. index_it_mcp-1.2.0/mcp_server/dependency_graph/ecosystems/python.py +26 -0
  87. index_it_mcp-1.2.0/mcp_server/dependency_graph/parsers.py +34 -0
  88. index_it_mcp-1.2.0/mcp_server/dispatcher/__init__.py +60 -0
  89. index_it_mcp-1.2.0/mcp_server/dispatcher/cross_repo_coordinator.py +960 -0
  90. index_it_mcp-1.2.0/mcp_server/dispatcher/dispatcher_enhanced.py +2747 -0
  91. index_it_mcp-1.2.0/mcp_server/dispatcher/fallback.py +79 -0
  92. index_it_mcp-1.2.0/mcp_server/dispatcher/plugin_router.py +788 -0
  93. index_it_mcp-1.2.0/mcp_server/dispatcher/protocol.py +194 -0
  94. index_it_mcp-1.2.0/mcp_server/dispatcher/query_intent.py +70 -0
  95. index_it_mcp-1.2.0/mcp_server/dispatcher/result_aggregator.py +1100 -0
  96. index_it_mcp-1.2.0/mcp_server/dispatcher/simple_dispatcher.py +236 -0
  97. index_it_mcp-1.2.0/mcp_server/document_processing/__init__.py +94 -0
  98. index_it_mcp-1.2.0/mcp_server/document_processing/base_document_plugin.py +711 -0
  99. index_it_mcp-1.2.0/mcp_server/document_processing/chunk_optimizer.py +989 -0
  100. index_it_mcp-1.2.0/mcp_server/document_processing/contextual_embeddings.py +473 -0
  101. index_it_mcp-1.2.0/mcp_server/document_processing/document_interfaces.py +230 -0
  102. index_it_mcp-1.2.0/mcp_server/document_processing/metadata_extractor.py +561 -0
  103. index_it_mcp-1.2.0/mcp_server/document_processing/semantic_chunker.py +927 -0
  104. index_it_mcp-1.2.0/mcp_server/gateway.py +2649 -0
  105. index_it_mcp-1.2.0/mcp_server/graph/__init__.py +32 -0
  106. index_it_mcp-1.2.0/mcp_server/graph/context_selector.py +296 -0
  107. index_it_mcp-1.2.0/mcp_server/graph/graph_analyzer.py +201 -0
  108. index_it_mcp-1.2.0/mcp_server/graph/interfaces.py +177 -0
  109. index_it_mcp-1.2.0/mcp_server/graph/xref_adapter.py +164 -0
  110. index_it_mcp-1.2.0/mcp_server/health/__init__.py +3 -0
  111. index_it_mcp-1.2.0/mcp_server/health/probes.py +70 -0
  112. index_it_mcp-1.2.0/mcp_server/health/repo_status.py +50 -0
  113. index_it_mcp-1.2.0/mcp_server/health/repository_readiness.py +257 -0
  114. index_it_mcp-1.2.0/mcp_server/indexer/__init__.py +29 -0
  115. index_it_mcp-1.2.0/mcp_server/indexer/bm25_indexer.py +805 -0
  116. index_it_mcp-1.2.0/mcp_server/indexer/hybrid_search.py +1324 -0
  117. index_it_mcp-1.2.0/mcp_server/indexer/index_engine.py +723 -0
  118. index_it_mcp-1.2.0/mcp_server/indexer/query_optimizer.py +28 -0
  119. index_it_mcp-1.2.0/mcp_server/indexer/reranker.py +810 -0
  120. index_it_mcp-1.2.0/mcp_server/indexing/__init__.py +20 -0
  121. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/__init__.py +54 -0
  122. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/async_client.py +345 -0
  123. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/config.py +101 -0
  124. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/globals.py +39 -0
  125. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/inlinedbaml.py +21 -0
  126. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/parser.py +72 -0
  127. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/runtime.py +383 -0
  128. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/stream_types.py +54 -0
  129. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/sync_client.py +356 -0
  130. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/tracing.py +26 -0
  131. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/type_builder.py +220 -0
  132. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/type_map.py +22 -0
  133. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/types.py +72 -0
  134. index_it_mcp-1.2.0/mcp_server/indexing/baml_client/baml_client/watchers.py +47 -0
  135. index_it_mcp-1.2.0/mcp_server/indexing/change_detector.py +242 -0
  136. index_it_mcp-1.2.0/mcp_server/indexing/checkpoint.py +70 -0
  137. index_it_mcp-1.2.0/mcp_server/indexing/incremental_indexer.py +546 -0
  138. index_it_mcp-1.2.0/mcp_server/indexing/lock_registry.py +28 -0
  139. index_it_mcp-1.2.0/mcp_server/indexing/summarization.py +757 -0
  140. index_it_mcp-1.2.0/mcp_server/interfaces/__init__.py +84 -0
  141. index_it_mcp-1.2.0/mcp_server/interfaces/api_gateway_interfaces.py +338 -0
  142. index_it_mcp-1.2.0/mcp_server/interfaces/cache_interfaces.py +476 -0
  143. index_it_mcp-1.2.0/mcp_server/interfaces/dispatcher_interfaces.py +365 -0
  144. index_it_mcp-1.2.0/mcp_server/interfaces/indexing_interfaces.py +510 -0
  145. index_it_mcp-1.2.0/mcp_server/interfaces/metrics_interfaces.py +476 -0
  146. index_it_mcp-1.2.0/mcp_server/interfaces/plugin_interfaces.py +398 -0
  147. index_it_mcp-1.2.0/mcp_server/interfaces/security_interfaces.py +433 -0
  148. index_it_mcp-1.2.0/mcp_server/interfaces/shared_interfaces.py +443 -0
  149. index_it_mcp-1.2.0/mcp_server/interfaces/storage_interfaces.py +511 -0
  150. index_it_mcp-1.2.0/mcp_server/metrics/__init__.py +204 -0
  151. index_it_mcp-1.2.0/mcp_server/metrics/health_check.py +442 -0
  152. index_it_mcp-1.2.0/mcp_server/metrics/metrics_collector.py +385 -0
  153. index_it_mcp-1.2.0/mcp_server/metrics/middleware.py +374 -0
  154. index_it_mcp-1.2.0/mcp_server/metrics/prometheus_exporter.py +528 -0
  155. index_it_mcp-1.2.0/mcp_server/plugin_base.py +115 -0
  156. index_it_mcp-1.2.0/mcp_server/plugin_base_enhanced.py +215 -0
  157. index_it_mcp-1.2.0/mcp_server/plugin_system/__init__.py +62 -0
  158. index_it_mcp-1.2.0/mcp_server/plugin_system/cli.py +328 -0
  159. index_it_mcp-1.2.0/mcp_server/plugin_system/config.py +282 -0
  160. index_it_mcp-1.2.0/mcp_server/plugin_system/discovery.py +307 -0
  161. index_it_mcp-1.2.0/mcp_server/plugin_system/interfaces.py +378 -0
  162. index_it_mcp-1.2.0/mcp_server/plugin_system/loader.py +336 -0
  163. index_it_mcp-1.2.0/mcp_server/plugin_system/models.py +310 -0
  164. index_it_mcp-1.2.0/mcp_server/plugin_system/plugin_discovery.py +325 -0
  165. index_it_mcp-1.2.0/mcp_server/plugin_system/plugin_loader.py +227 -0
  166. index_it_mcp-1.2.0/mcp_server/plugin_system/plugin_manager.py +577 -0
  167. index_it_mcp-1.2.0/mcp_server/plugin_system/plugin_registry.py +207 -0
  168. index_it_mcp-1.2.0/mcp_server/plugins/__init__.py +5 -0
  169. index_it_mcp-1.2.0/mcp_server/plugins/bm25_adapter_plugin.py +181 -0
  170. index_it_mcp-1.2.0/mcp_server/plugins/c_plugin/__init__.py +14 -0
  171. index_it_mcp-1.2.0/mcp_server/plugins/c_plugin/plugin.py +752 -0
  172. index_it_mcp-1.2.0/mcp_server/plugins/c_plugin/plugin_semantic.py +189 -0
  173. index_it_mcp-1.2.0/mcp_server/plugins/cpp_plugin/__init__.py +14 -0
  174. index_it_mcp-1.2.0/mcp_server/plugins/cpp_plugin/plugin.py +1535 -0
  175. index_it_mcp-1.2.0/mcp_server/plugins/cpp_plugin/plugin_semantic.py +191 -0
  176. index_it_mcp-1.2.0/mcp_server/plugins/csharp_plugin/__init__.py +5 -0
  177. index_it_mcp-1.2.0/mcp_server/plugins/csharp_plugin/namespace_resolver.py +411 -0
  178. index_it_mcp-1.2.0/mcp_server/plugins/csharp_plugin/nuget_integration.py +580 -0
  179. index_it_mcp-1.2.0/mcp_server/plugins/csharp_plugin/plugin.py +719 -0
  180. index_it_mcp-1.2.0/mcp_server/plugins/csharp_plugin/type_analyzer.py +669 -0
  181. index_it_mcp-1.2.0/mcp_server/plugins/dart_plugin/__init__.py +14 -0
  182. index_it_mcp-1.2.0/mcp_server/plugins/dart_plugin/plugin.py +1492 -0
  183. index_it_mcp-1.2.0/mcp_server/plugins/dart_plugin/plugin_semantic.py +191 -0
  184. index_it_mcp-1.2.0/mcp_server/plugins/generic_treesitter_plugin.py +315 -0
  185. index_it_mcp-1.2.0/mcp_server/plugins/go_plugin/__init__.py +5 -0
  186. index_it_mcp-1.2.0/mcp_server/plugins/go_plugin/interface_checker.py +288 -0
  187. index_it_mcp-1.2.0/mcp_server/plugins/go_plugin/module_resolver.py +269 -0
  188. index_it_mcp-1.2.0/mcp_server/plugins/go_plugin/package_analyzer.py +436 -0
  189. index_it_mcp-1.2.0/mcp_server/plugins/go_plugin/plugin.py +510 -0
  190. index_it_mcp-1.2.0/mcp_server/plugins/html_css_plugin/__init__.py +14 -0
  191. index_it_mcp-1.2.0/mcp_server/plugins/html_css_plugin/plugin.py +1312 -0
  192. index_it_mcp-1.2.0/mcp_server/plugins/html_css_plugin/plugin_semantic.py +218 -0
  193. index_it_mcp-1.2.0/mcp_server/plugins/java_plugin/__init__.py +13 -0
  194. index_it_mcp-1.2.0/mcp_server/plugins/java_plugin/build_system.py +342 -0
  195. index_it_mcp-1.2.0/mcp_server/plugins/java_plugin/import_resolver.py +229 -0
  196. index_it_mcp-1.2.0/mcp_server/plugins/java_plugin/plugin.py +736 -0
  197. index_it_mcp-1.2.0/mcp_server/plugins/java_plugin/type_analyzer.py +376 -0
  198. index_it_mcp-1.2.0/mcp_server/plugins/js_plugin/__init__.py +14 -0
  199. index_it_mcp-1.2.0/mcp_server/plugins/js_plugin/plugin.py +960 -0
  200. index_it_mcp-1.2.0/mcp_server/plugins/js_plugin/plugin_semantic.py +442 -0
  201. index_it_mcp-1.2.0/mcp_server/plugins/kotlin_plugin/__init__.py +7 -0
  202. index_it_mcp-1.2.0/mcp_server/plugins/kotlin_plugin/coroutines_analyzer.py +688 -0
  203. index_it_mcp-1.2.0/mcp_server/plugins/kotlin_plugin/java_interop.py +801 -0
  204. index_it_mcp-1.2.0/mcp_server/plugins/kotlin_plugin/null_safety.py +527 -0
  205. index_it_mcp-1.2.0/mcp_server/plugins/kotlin_plugin/plugin.py +841 -0
  206. index_it_mcp-1.2.0/mcp_server/plugins/language_registry.py +303 -0
  207. index_it_mcp-1.2.0/mcp_server/plugins/markdown_plugin/__init__.py +14 -0
  208. index_it_mcp-1.2.0/mcp_server/plugins/markdown_plugin/chunk_strategies.py +807 -0
  209. index_it_mcp-1.2.0/mcp_server/plugins/markdown_plugin/document_parser.py +496 -0
  210. index_it_mcp-1.2.0/mcp_server/plugins/markdown_plugin/frontmatter_parser.py +341 -0
  211. index_it_mcp-1.2.0/mcp_server/plugins/markdown_plugin/plugin.py +573 -0
  212. index_it_mcp-1.2.0/mcp_server/plugins/markdown_plugin/section_extractor.py +277 -0
  213. index_it_mcp-1.2.0/mcp_server/plugins/memory_aware_manager.py +397 -0
  214. index_it_mcp-1.2.0/mcp_server/plugins/plaintext_plugin/__init__.py +5 -0
  215. index_it_mcp-1.2.0/mcp_server/plugins/plaintext_plugin/nlp_processor.py +370 -0
  216. index_it_mcp-1.2.0/mcp_server/plugins/plaintext_plugin/paragraph_detector.py +330 -0
  217. index_it_mcp-1.2.0/mcp_server/plugins/plaintext_plugin/plugin.py +765 -0
  218. index_it_mcp-1.2.0/mcp_server/plugins/plaintext_plugin/sentence_splitter.py +167 -0
  219. index_it_mcp-1.2.0/mcp_server/plugins/plaintext_plugin/topic_extractor.py +356 -0
  220. index_it_mcp-1.2.0/mcp_server/plugins/plugin_factory.py +588 -0
  221. index_it_mcp-1.2.0/mcp_server/plugins/plugin_set_registry.py +129 -0
  222. index_it_mcp-1.2.0/mcp_server/plugins/python_plugin/__init__.py +12 -0
  223. index_it_mcp-1.2.0/mcp_server/plugins/python_plugin/plugin.py +297 -0
  224. index_it_mcp-1.2.0/mcp_server/plugins/python_plugin/plugin_semantic.py +341 -0
  225. index_it_mcp-1.2.0/mcp_server/plugins/repository_plugin_loader.py +552 -0
  226. index_it_mcp-1.2.0/mcp_server/plugins/rust_plugin/__init__.py +7 -0
  227. index_it_mcp-1.2.0/mcp_server/plugins/rust_plugin/cargo_integration.py +387 -0
  228. index_it_mcp-1.2.0/mcp_server/plugins/rust_plugin/module_resolver.py +205 -0
  229. index_it_mcp-1.2.0/mcp_server/plugins/rust_plugin/plugin.py +450 -0
  230. index_it_mcp-1.2.0/mcp_server/plugins/rust_plugin/trait_analyzer.py +290 -0
  231. index_it_mcp-1.2.0/mcp_server/plugins/sandboxed_plugin.py +139 -0
  232. index_it_mcp-1.2.0/mcp_server/plugins/simple_text_plugin.py +212 -0
  233. index_it_mcp-1.2.0/mcp_server/plugins/specialized_plugin_base.py +300 -0
  234. index_it_mcp-1.2.0/mcp_server/plugins/swift_plugin/__init__.py +13 -0
  235. index_it_mcp-1.2.0/mcp_server/plugins/swift_plugin/module_analyzer.py +571 -0
  236. index_it_mcp-1.2.0/mcp_server/plugins/swift_plugin/objc_bridge.py +768 -0
  237. index_it_mcp-1.2.0/mcp_server/plugins/swift_plugin/plugin.py +842 -0
  238. index_it_mcp-1.2.0/mcp_server/plugins/swift_plugin/protocol_checker.py +713 -0
  239. index_it_mcp-1.2.0/mcp_server/plugins/typescript_plugin/__init__.py +5 -0
  240. index_it_mcp-1.2.0/mcp_server/plugins/typescript_plugin/declaration_handler.py +820 -0
  241. index_it_mcp-1.2.0/mcp_server/plugins/typescript_plugin/plugin.py +1659 -0
  242. index_it_mcp-1.2.0/mcp_server/plugins/typescript_plugin/tsconfig_parser.py +317 -0
  243. index_it_mcp-1.2.0/mcp_server/plugins/typescript_plugin/type_system.py +765 -0
  244. index_it_mcp-1.2.0/mcp_server/sandbox/__init__.py +43 -0
  245. index_it_mcp-1.2.0/mcp_server/sandbox/capabilities.py +72 -0
  246. index_it_mcp-1.2.0/mcp_server/sandbox/caps_apply.py +245 -0
  247. index_it_mcp-1.2.0/mcp_server/sandbox/protocol.py +68 -0
  248. index_it_mcp-1.2.0/mcp_server/sandbox/supervisor.py +175 -0
  249. index_it_mcp-1.2.0/mcp_server/sandbox/worker_main.py +309 -0
  250. index_it_mcp-1.2.0/mcp_server/security/__init__.py +89 -0
  251. index_it_mcp-1.2.0/mcp_server/security/auth_manager.py +635 -0
  252. index_it_mcp-1.2.0/mcp_server/security/models.py +269 -0
  253. index_it_mcp-1.2.0/mcp_server/security/path_allowlist.py +44 -0
  254. index_it_mcp-1.2.0/mcp_server/security/path_guard.py +27 -0
  255. index_it_mcp-1.2.0/mcp_server/security/security_middleware.py +573 -0
  256. index_it_mcp-1.2.0/mcp_server/security/token_validator.py +48 -0
  257. index_it_mcp-1.2.0/mcp_server/setup/__init__.py +17 -0
  258. index_it_mcp-1.2.0/mcp_server/setup/qdrant_autostart.py +161 -0
  259. index_it_mcp-1.2.0/mcp_server/setup/semantic_preflight.py +265 -0
  260. index_it_mcp-1.2.0/mcp_server/storage/__init__.py +5 -0
  261. index_it_mcp-1.2.0/mcp_server/storage/connection_pool.py +61 -0
  262. index_it_mcp-1.2.0/mcp_server/storage/git_index_manager.py +658 -0
  263. index_it_mcp-1.2.0/mcp_server/storage/index_manager.py +376 -0
  264. index_it_mcp-1.2.0/mcp_server/storage/multi_repo_manager.py +838 -0
  265. index_it_mcp-1.2.0/mcp_server/storage/repo_identity.py +152 -0
  266. index_it_mcp-1.2.0/mcp_server/storage/repository_registry.py +826 -0
  267. index_it_mcp-1.2.0/mcp_server/storage/schema_errors.py +18 -0
  268. index_it_mcp-1.2.0/mcp_server/storage/schema_migrator.py +96 -0
  269. index_it_mcp-1.2.0/mcp_server/storage/sqlite_store.py +2329 -0
  270. index_it_mcp-1.2.0/mcp_server/storage/store_registry.py +103 -0
  271. index_it_mcp-1.2.0/mcp_server/storage/two_phase.py +46 -0
  272. index_it_mcp-1.2.0/mcp_server/sync.py +3 -0
  273. index_it_mcp-1.2.0/mcp_server/utils/__init__.py +43 -0
  274. index_it_mcp-1.2.0/mcp_server/utils/chunker_adapter.py +176 -0
  275. index_it_mcp-1.2.0/mcp_server/utils/direct_searcher.py +267 -0
  276. index_it_mcp-1.2.0/mcp_server/utils/embedding_providers.py +147 -0
  277. index_it_mcp-1.2.0/mcp_server/utils/fuzzy_indexer.py +332 -0
  278. index_it_mcp-1.2.0/mcp_server/utils/index_discovery.py +1146 -0
  279. index_it_mcp-1.2.0/mcp_server/utils/language_detector.py +103 -0
  280. index_it_mcp-1.2.0/mcp_server/utils/mcp_client_wrapper.py +367 -0
  281. index_it_mcp-1.2.0/mcp_server/utils/mcp_health_check.py +462 -0
  282. index_it_mcp-1.2.0/mcp_server/utils/semantic_discovery.py +440 -0
  283. index_it_mcp-1.2.0/mcp_server/utils/semantic_indexer.py +2705 -0
  284. index_it_mcp-1.2.0/mcp_server/utils/semantic_indexer_registry.py +90 -0
  285. index_it_mcp-1.2.0/mcp_server/utils/sub_agent_helper.py +297 -0
  286. index_it_mcp-1.2.0/mcp_server/utils/token_counter.py +290 -0
  287. index_it_mcp-1.2.0/mcp_server/utils/treesitter_wrapper.py +63 -0
  288. index_it_mcp-1.2.0/mcp_server/visualization/__init__.py +5 -0
  289. index_it_mcp-1.2.0/mcp_server/visualization/quick_charts.py +501 -0
  290. index_it_mcp-1.2.0/mcp_server/watcher/__init__.py +15 -0
  291. index_it_mcp-1.2.0/mcp_server/watcher/file_watcher.py +274 -0
  292. index_it_mcp-1.2.0/mcp_server/watcher/ref_poller.py +182 -0
  293. index_it_mcp-1.2.0/mcp_server/watcher/sweeper.py +242 -0
  294. index_it_mcp-1.2.0/mcp_server/watcher_multi_repo.py +658 -0
  295. index_it_mcp-1.2.0/pyproject.toml +189 -0
  296. index_it_mcp-1.2.0/setup.cfg +4 -0
  297. index_it_mcp-1.2.0/tests/test_artifact_attestation.py +136 -0
  298. index_it_mcp-1.2.0/tests/test_artifact_auto_delta.py +112 -0
  299. index_it_mcp-1.2.0/tests/test_artifact_commands.py +195 -0
  300. index_it_mcp-1.2.0/tests/test_artifact_download.py +153 -0
  301. index_it_mcp-1.2.0/tests/test_artifact_freshness.py +194 -0
  302. index_it_mcp-1.2.0/tests/test_artifact_integrity_gate.py +247 -0
  303. index_it_mcp-1.2.0/tests/test_artifact_lifecycle.py +93 -0
  304. index_it_mcp-1.2.0/tests/test_artifact_manifest_v2.py +190 -0
  305. index_it_mcp-1.2.0/tests/test_artifact_provider_factory.py +113 -0
  306. index_it_mcp-1.2.0/tests/test_artifact_publish_race.py +355 -0
  307. index_it_mcp-1.2.0/tests/test_artifact_publish_rollback.py +176 -0
  308. index_it_mcp-1.2.0/tests/test_artifact_recovery_selection.py +51 -0
  309. index_it_mcp-1.2.0/tests/test_artifact_routing_policy.py +93 -0
  310. index_it_mcp-1.2.0/tests/test_artifact_upload.py +101 -0
  311. index_it_mcp-1.2.0/tests/test_attestation_probe.py +110 -0
  312. index_it_mcp-1.2.0/tests/test_benchmark_query_regressions.py +892 -0
  313. index_it_mcp-1.2.0/tests/test_benchmarks.py +833 -0
  314. index_it_mcp-1.2.0/tests/test_bm25_adapter_plugin.py +138 -0
  315. index_it_mcp-1.2.0/tests/test_bootstrap.py +281 -0
  316. index_it_mcp-1.2.0/tests/test_branch_drift_rescan.py +299 -0
  317. index_it_mcp-1.2.0/tests/test_c_plugin.py +1017 -0
  318. index_it_mcp-1.2.0/tests/test_cache.py +610 -0
  319. index_it_mcp-1.2.0/tests/test_chunk_query_pagination.py +117 -0
  320. index_it_mcp-1.2.0/tests/test_chunker_adapter.py +33 -0
  321. index_it_mcp-1.2.0/tests/test_cpp_plugin.py +788 -0
  322. index_it_mcp-1.2.0/tests/test_cross_repo_coordinator.py +495 -0
  323. index_it_mcp-1.2.0/tests/test_cross_repo_rate_limit.py +95 -0
  324. index_it_mcp-1.2.0/tests/test_cross_repo_reranker.py +83 -0
  325. index_it_mcp-1.2.0/tests/test_dart_plugin.py +1158 -0
  326. index_it_mcp-1.2.0/tests/test_delta_artifacts.py +54 -0
  327. index_it_mcp-1.2.0/tests/test_delta_base_fallback.py +229 -0
  328. index_it_mcp-1.2.0/tests/test_delta_chain_resolver.py +49 -0
  329. index_it_mcp-1.2.0/tests/test_delta_policy.py +72 -0
  330. index_it_mcp-1.2.0/tests/test_dependency_aware_search.py +92 -0
  331. index_it_mcp-1.2.0/tests/test_dependency_graph_parsers.py +116 -0
  332. index_it_mcp-1.2.0/tests/test_deployment_runbook_shape.py +61 -0
  333. index_it_mcp-1.2.0/tests/test_disk_full.py +91 -0
  334. index_it_mcp-1.2.0/tests/test_dispatcher.py +1187 -0
  335. index_it_mcp-1.2.0/tests/test_dispatcher_advanced.py +726 -0
  336. index_it_mcp-1.2.0/tests/test_dispatcher_extension_gating.py +191 -0
  337. index_it_mcp-1.2.0/tests/test_dispatcher_fallback_timeout.py +174 -0
  338. index_it_mcp-1.2.0/tests/test_dispatcher_p3_integration.py +198 -0
  339. index_it_mcp-1.2.0/tests/test_dispatcher_toctou.py +227 -0
  340. index_it_mcp-1.2.0/tests/test_docs_catalog_integrity.py +124 -0
  341. index_it_mcp-1.2.0/tests/test_document_edge_cases.py +230 -0
  342. index_it_mcp-1.2.0/tests/test_fixtures.py +60 -0
  343. index_it_mcp-1.2.0/tests/test_gateway.py +790 -0
  344. index_it_mcp-1.2.0/tests/test_git_index_manager.py +336 -0
  345. index_it_mcp-1.2.0/tests/test_git_integration.py +376 -0
  346. index_it_mcp-1.2.0/tests/test_go_plugin.py +244 -0
  347. index_it_mcp-1.2.0/tests/test_handler_path_sandbox.py +510 -0
  348. index_it_mcp-1.2.0/tests/test_handshake.py +198 -0
  349. index_it_mcp-1.2.0/tests/test_health_probes.py +167 -0
  350. index_it_mcp-1.2.0/tests/test_health_surface.py +301 -0
  351. index_it_mcp-1.2.0/tests/test_hot_path_histograms.py +269 -0
  352. index_it_mcp-1.2.0/tests/test_html_css_plugin.py +563 -0
  353. index_it_mcp-1.2.0/tests/test_ignore_patterns.py +236 -0
  354. index_it_mcp-1.2.0/tests/test_incremental_indexer.py +239 -0
  355. index_it_mcp-1.2.0/tests/test_incremental_indexer_checkpoint.py +74 -0
  356. index_it_mcp-1.2.0/tests/test_index_cli.py +520 -0
  357. index_it_mcp-1.2.0/tests/test_index_discovery.py +681 -0
  358. index_it_mcp-1.2.0/tests/test_indexer_advanced.py +727 -0
  359. index_it_mcp-1.2.0/tests/test_indexing_lock.py +153 -0
  360. index_it_mcp-1.2.0/tests/test_indexing_store_integration.py +67 -0
  361. index_it_mcp-1.2.0/tests/test_interface_contracts.py +81 -0
  362. index_it_mcp-1.2.0/tests/test_js_plugin.py +766 -0
  363. index_it_mcp-1.2.0/tests/test_json_logs.py +149 -0
  364. index_it_mcp-1.2.0/tests/test_language_detector.py +40 -0
  365. index_it_mcp-1.2.0/tests/test_malformed_documents.py +204 -0
  366. index_it_mcp-1.2.0/tests/test_mcp_comparison.py +142 -0
  367. index_it_mcp-1.2.0/tests/test_mcp_server_cli.py +510 -0
  368. index_it_mcp-1.2.0/tests/test_mcp_sub_agent.py +380 -0
  369. index_it_mcp-1.2.0/tests/test_memory_aware_manager.py +484 -0
  370. index_it_mcp-1.2.0/tests/test_metrics.py +698 -0
  371. index_it_mcp-1.2.0/tests/test_multi_repo_artifact_coordinator.py +225 -0
  372. index_it_mcp-1.2.0/tests/test_multi_repo_bootstrap_order.py +276 -0
  373. index_it_mcp-1.2.0/tests/test_multi_repo_failure_matrix.py +332 -0
  374. index_it_mcp-1.2.0/tests/test_multi_repo_manager.py +676 -0
  375. index_it_mcp-1.2.0/tests/test_multi_repo_production_matrix.py +119 -0
  376. index_it_mcp-1.2.0/tests/test_multi_repo_search.py +422 -0
  377. index_it_mcp-1.2.0/tests/test_multi_repository_support.py +118 -0
  378. index_it_mcp-1.2.0/tests/test_p16_vocabulary.py +244 -0
  379. index_it_mcp-1.2.0/tests/test_p24_dispatcher_degradation.py +28 -0
  380. index_it_mcp-1.2.0/tests/test_p24_list_plugins_status.py +79 -0
  381. index_it_mcp-1.2.0/tests/test_p24_plugin_availability.py +92 -0
  382. index_it_mcp-1.2.0/tests/test_p25_release_gates.py +188 -0
  383. index_it_mcp-1.2.0/tests/test_p26_alpha_evidence.py +126 -0
  384. index_it_mcp-1.2.0/tests/test_plugin_factory_async.py +112 -0
  385. index_it_mcp-1.2.0/tests/test_plugin_set_registry.py +75 -0
  386. index_it_mcp-1.2.0/tests/test_plugin_startup_preindex.py +28 -0
  387. index_it_mcp-1.2.0/tests/test_plugin_system.py +909 -0
  388. index_it_mcp-1.2.0/tests/test_preflight_commands.py +144 -0
  389. index_it_mcp-1.2.0/tests/test_preflight_upgrade.py +62 -0
  390. index_it_mcp-1.2.0/tests/test_preflight_validation.py +431 -0
  391. index_it_mcp-1.2.0/tests/test_profile_aware_semantic_indexer.py +198 -0
  392. index_it_mcp-1.2.0/tests/test_profile_hydration.py +110 -0
  393. index_it_mcp-1.2.0/tests/test_prometheus_dispatcher_fallback_metric.py +53 -0
  394. index_it_mcp-1.2.0/tests/test_prometheus_exporter_http.py +156 -0
  395. index_it_mcp-1.2.0/tests/test_python_plugin.py +907 -0
  396. index_it_mcp-1.2.0/tests/test_qdrant_autostart.py +37 -0
  397. index_it_mcp-1.2.0/tests/test_rate_limit_retry_after.py +234 -0
  398. index_it_mcp-1.2.0/tests/test_ref_poller.py +329 -0
  399. index_it_mcp-1.2.0/tests/test_ref_poller_edges.py +161 -0
  400. index_it_mcp-1.2.0/tests/test_registry_concurrency.py +208 -0
  401. index_it_mcp-1.2.0/tests/test_reindex_resume.py +327 -0
  402. index_it_mcp-1.2.0/tests/test_release_metadata.py +148 -0
  403. index_it_mcp-1.2.0/tests/test_release_notes.py +61 -0
  404. index_it_mcp-1.2.0/tests/test_release_readiness_p20.py +32 -0
  405. index_it_mcp-1.2.0/tests/test_rename_atomicity.py +199 -0
  406. index_it_mcp-1.2.0/tests/test_repo_context.py +171 -0
  407. index_it_mcp-1.2.0/tests/test_repo_identity.py +271 -0
  408. index_it_mcp-1.2.0/tests/test_repo_resolver.py +257 -0
  409. index_it_mcp-1.2.0/tests/test_repository_commands.py +175 -0
  410. index_it_mcp-1.2.0/tests/test_repository_management.py +285 -0
  411. index_it_mcp-1.2.0/tests/test_repository_plugin_loader.py +30 -0
  412. index_it_mcp-1.2.0/tests/test_repository_plugin_loader_concurrency.py +227 -0
  413. index_it_mcp-1.2.0/tests/test_repository_readiness.py +138 -0
  414. index_it_mcp-1.2.0/tests/test_repository_registry.py +346 -0
  415. index_it_mcp-1.2.0/tests/test_repository_registry_commits.py +110 -0
  416. index_it_mcp-1.2.0/tests/test_requirements_consolidation.py +102 -0
  417. index_it_mcp-1.2.0/tests/test_requires_gh_auth_marker.py +87 -0
  418. index_it_mcp-1.2.0/tests/test_reranker_factory_default.py +21 -0
  419. index_it_mcp-1.2.0/tests/test_reranking_metadata_preservation.py +832 -0
  420. index_it_mcp-1.2.0/tests/test_retention_janitor.py +228 -0
  421. index_it_mcp-1.2.0/tests/test_sandbox_default_on.py +96 -0
  422. index_it_mcp-1.2.0/tests/test_schema_migration.py +54 -0
  423. index_it_mcp-1.2.0/tests/test_schema_migration_backup.py +94 -0
  424. index_it_mcp-1.2.0/tests/test_schema_migrator.py +64 -0
  425. index_it_mcp-1.2.0/tests/test_schema_strict.py +165 -0
  426. index_it_mcp-1.2.0/tests/test_scripts_pathutils.py +126 -0
  427. index_it_mcp-1.2.0/tests/test_secret_redaction.py +82 -0
  428. index_it_mcp-1.2.0/tests/test_security.py +602 -0
  429. index_it_mcp-1.2.0/tests/test_semantic_indexer_registry.py +177 -0
  430. index_it_mcp-1.2.0/tests/test_semantic_namespace_resolver.py +57 -0
  431. index_it_mcp-1.2.0/tests/test_semantic_preflight.py +27 -0
  432. index_it_mcp-1.2.0/tests/test_semantic_profile_settings.py +218 -0
  433. index_it_mcp-1.2.0/tests/test_semantic_profiles.py +55 -0
  434. index_it_mcp-1.2.0/tests/test_semantic_stale_vector_cleanup.py +114 -0
  435. index_it_mcp-1.2.0/tests/test_server_commands.py +53 -0
  436. index_it_mcp-1.2.0/tests/test_setup_cli.py +65 -0
  437. index_it_mcp-1.2.0/tests/test_singleton_reset.py +85 -0
  438. index_it_mcp-1.2.0/tests/test_sqlite_pool.py +125 -0
  439. index_it_mcp-1.2.0/tests/test_sqlite_store.py +952 -0
  440. index_it_mcp-1.2.0/tests/test_startup_preflight.py +33 -0
  441. index_it_mcp-1.2.0/tests/test_stdio_tool_descriptions.py +69 -0
  442. index_it_mcp-1.2.0/tests/test_store_registry.py +206 -0
  443. index_it_mcp-1.2.0/tests/test_structured_errors.py +239 -0
  444. index_it_mcp-1.2.0/tests/test_summarization.py +120 -0
  445. index_it_mcp-1.2.0/tests/test_sweeper_observability.py +88 -0
  446. index_it_mcp-1.2.0/tests/test_tool_handlers_readiness.py +160 -0
  447. index_it_mcp-1.2.0/tests/test_tool_readiness_fail_closed.py +380 -0
  448. index_it_mcp-1.2.0/tests/test_tool_schema_handler_parity.py +82 -0
  449. index_it_mcp-1.2.0/tests/test_two_phase_commit.py +219 -0
  450. index_it_mcp-1.2.0/tests/test_unicode_documents.py +313 -0
  451. index_it_mcp-1.2.0/tests/test_utilities.py +527 -0
  452. index_it_mcp-1.2.0/tests/test_utils.py +316 -0
  453. index_it_mcp-1.2.0/tests/test_walker_file_size_guard.py +95 -0
  454. index_it_mcp-1.2.0/tests/test_watcher.py +716 -0
  455. index_it_mcp-1.2.0/tests/test_watcher_multi_repo.py +510 -0
  456. index_it_mcp-1.2.0/tests/test_watcher_sweep.py +246 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Jenner Torrence
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.