mcp-vector-search 0.9.1__py3-none-any.whl → 0.9.3__py3-none-any.whl

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.

Potentially problematic release.


This version of mcp-vector-search might be problematic. Click here for more details.

@@ -1,7 +1,7 @@
1
1
  """MCP Vector Search - CLI-first semantic code search with MCP integration."""
2
2
 
3
- __version__ = "0.9.1"
4
- __build__ = "38"
3
+ __version__ = "0.9.3"
4
+ __build__ = "40"
5
5
  __author__ = "Robert Matsuoka"
6
6
  __email__ = "bobmatnyc@gmail.com"
7
7
 
@@ -273,6 +273,19 @@ class ChromaVectorDatabase(VectorDatabase):
273
273
  "class_name": chunk.class_name or "",
274
274
  "docstring": chunk.docstring or "",
275
275
  "complexity_score": chunk.complexity_score,
276
+ # Hierarchy fields
277
+ "chunk_id": chunk.chunk_id or "",
278
+ "parent_chunk_id": chunk.parent_chunk_id or "",
279
+ "child_chunk_ids": chunk.child_chunk_ids or [],
280
+ "chunk_depth": chunk.chunk_depth,
281
+ # Additional metadata
282
+ "decorators": chunk.decorators or [],
283
+ "parameters": chunk.parameters or [],
284
+ "return_type": chunk.return_type or "",
285
+ "type_annotations": chunk.type_annotations or {},
286
+ # Monorepo support
287
+ "subproject_name": chunk.subproject_name or "",
288
+ "subproject_path": chunk.subproject_path or "",
276
289
  }
277
290
  metadatas.append(metadata)
278
291
 
@@ -760,6 +773,21 @@ class PooledChromaVectorDatabase(VectorDatabase):
760
773
  "chunk_type": chunk.chunk_type,
761
774
  "function_name": chunk.function_name or "",
762
775
  "class_name": chunk.class_name or "",
776
+ "docstring": chunk.docstring or "",
777
+ "complexity_score": chunk.complexity_score,
778
+ # Hierarchy fields
779
+ "chunk_id": chunk.chunk_id or "",
780
+ "parent_chunk_id": chunk.parent_chunk_id or "",
781
+ "child_chunk_ids": chunk.child_chunk_ids or [],
782
+ "chunk_depth": chunk.chunk_depth,
783
+ # Additional metadata
784
+ "decorators": chunk.decorators or [],
785
+ "parameters": chunk.parameters or [],
786
+ "return_type": chunk.return_type or "",
787
+ "type_annotations": chunk.type_annotations or {},
788
+ # Monorepo support
789
+ "subproject_name": chunk.subproject_name or "",
790
+ "subproject_path": chunk.subproject_path or "",
763
791
  }
764
792
  )
765
793
  ids.append(chunk.id)
@@ -710,6 +710,9 @@ class SemanticIndexer:
710
710
  Yields:
711
711
  Tuple of (file_path, chunks_added, success) for each processed file
712
712
  """
713
+ # Write version header to error log at start of indexing run
714
+ self._write_indexing_run_header()
715
+
713
716
  metadata = self._load_index_metadata()
714
717
 
715
718
  # Process files in batches for better memory management
@@ -826,3 +829,18 @@ class SemanticIndexer:
826
829
  mod.chunk_depth = 0
827
830
 
828
831
  return chunks
832
+
833
+ def _write_indexing_run_header(self) -> None:
834
+ """Write version and timestamp header to error log at start of indexing run."""
835
+ try:
836
+ error_log_path = self.project_root / ".mcp-vector-search" / "indexing_errors.log"
837
+ error_log_path.parent.mkdir(parents=True, exist_ok=True)
838
+
839
+ with open(error_log_path, "a", encoding="utf-8") as f:
840
+ timestamp = datetime.now(UTC).isoformat()
841
+ separator = "=" * 80
842
+ f.write(f"\n{separator}\n")
843
+ f.write(f"[{timestamp}] Indexing run started - mcp-vector-search v{__version__}\n")
844
+ f.write(f"{separator}\n")
845
+ except Exception as e:
846
+ logger.debug(f"Failed to write indexing run header: {e}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-vector-search
3
- Version: 0.9.1
3
+ Version: 0.9.3
4
4
  Summary: CLI-first semantic code search with MCP integration
5
5
  Project-URL: Homepage, https://github.com/bobmatnyc/mcp-vector-search
6
6
  Project-URL: Documentation, https://mcp-vector-search.readthedocs.io
@@ -1,4 +1,4 @@
1
- mcp_vector_search/__init__.py,sha256=wmIPI3OtTC0MnYzNIIhOfn-WL_Wne538UHx6NYSGYos,299
1
+ mcp_vector_search/__init__.py,sha256=uGnLkICSDhagdCfr4kwuag5ygwIO8MSt4E-gEeeV9gE,299
2
2
  mcp_vector_search/py.typed,sha256=lCKeV9Qcn9sGtbRsgg-LJO2ZwWRuknnnlmomq3bJFH0,43
3
3
  mcp_vector_search/cli/__init__.py,sha256=TNB7CaOASz8u3yHWLbNmo8-GtHF0qwUjVKWAuNphKgo,40
4
4
  mcp_vector_search/cli/didyoumean.py,sha256=F_ss-EX4F9RgnMsEhdTwLpyNCah9SqnBZc2tBtzASck,15918
@@ -28,12 +28,12 @@ mcp_vector_search/config/settings.py,sha256=m8o8j-tvWcuzrnNL6YWbi2fFbcB3lZY1kMNi
28
28
  mcp_vector_search/core/__init__.py,sha256=bWKtKmmaFs7gG5XPCbrx77UYIVeO1FF8wIJxpj1dLNw,48
29
29
  mcp_vector_search/core/auto_indexer.py,sha256=0S4lZXaUgqEytMSA2FxQsh5hN7V1mbSLYVzEf_dslYQ,10307
30
30
  mcp_vector_search/core/connection_pool.py,sha256=Yo-gUQQbHawtuvh6OcJiAlbbvWQGQBd31QZOvs498fg,11224
31
- mcp_vector_search/core/database.py,sha256=HMyQ3J9DTgE8VpafoorRePtolzkX1W9wAZ3U8RvyDK4,42931
31
+ mcp_vector_search/core/database.py,sha256=TKbY-7AbeQupYbDDPftdLtrHGN82Oa98qMKNCyv6AHc,44663
32
32
  mcp_vector_search/core/embeddings.py,sha256=wSMUNxZcuGPMxxQ1AbKqA1a3-0c6AiOqmuuI7OqTyaQ,10578
33
33
  mcp_vector_search/core/exceptions.py,sha256=3bCjT8wmrLz_0e_Tayr90049zNTKYFWZa19kl0saKz8,1597
34
34
  mcp_vector_search/core/factory.py,sha256=tM6Ft-V9buF7nn9xbRMU1ngji-BJOKt6BhtfQhFLmF4,10384
35
35
  mcp_vector_search/core/git_hooks.py,sha256=xOfPpzgKoNTwM-vbhAihUucgudBQk45bCAVR5zJOFlQ,10878
36
- mcp_vector_search/core/indexer.py,sha256=rB4XJ2iRyk4qWuM5ykUBfbSPSdJYVNLSXNZ7qPrY9BE,29912
36
+ mcp_vector_search/core/indexer.py,sha256=GqPnwUKkw2cvn-JxAaklUpg8NgCT6lkBxMVYaQ8WZP0,30789
37
37
  mcp_vector_search/core/models.py,sha256=vWEP7JtIv9cG4eQRkUB0TW5Xo6KChzafngsj-rWnF34,9228
38
38
  mcp_vector_search/core/project.py,sha256=l81uc5B4CB8VXDbcHzF-_CagxIERDh23tH0iNqTePTs,10403
39
39
  mcp_vector_search/core/scheduler.py,sha256=PBSlu-ieDYCXOMGYY7QKv9UReFEDPHNmwnUv_xb4vxg,11761
@@ -58,8 +58,8 @@ mcp_vector_search/utils/gitignore.py,sha256=GiHQu9kv9PRLsWuNS8kbpXsTaBdhlsSHTu1N
58
58
  mcp_vector_search/utils/monorepo.py,sha256=leTYx4ffN4IO0wDg7OWYfXMWMPp2Q_uEHl5WQFNk5Hs,8657
59
59
  mcp_vector_search/utils/timing.py,sha256=THC7mfbTYnUpnnDcblgQacYMzbEkfFoIShx6plmhCgg,11285
60
60
  mcp_vector_search/utils/version.py,sha256=d7fS-CLemxb8UzZ9j18zH0Y0Ud097ljKKYYOPulnGPE,1138
61
- mcp_vector_search-0.9.1.dist-info/METADATA,sha256=AjybXcW7c9FHyG5OGsQDx0tPNvxAtxeHShq78CrX42o,19120
62
- mcp_vector_search-0.9.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
63
- mcp_vector_search-0.9.1.dist-info/entry_points.txt,sha256=y3Ygtc_JiBchNEIL-tPABo7EbzBExGAxwGdkkeP5D2I,86
64
- mcp_vector_search-0.9.1.dist-info/licenses/LICENSE,sha256=FqZUgGJH_tZKZLQsMCpXaLawRyLmyFKRVfMwYyEcyTs,1072
65
- mcp_vector_search-0.9.1.dist-info/RECORD,,
61
+ mcp_vector_search-0.9.3.dist-info/METADATA,sha256=jFX78CypI9TjZ45sSCqa0nFIkz9azaq-5H7MXD38ggI,19120
62
+ mcp_vector_search-0.9.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
63
+ mcp_vector_search-0.9.3.dist-info/entry_points.txt,sha256=y3Ygtc_JiBchNEIL-tPABo7EbzBExGAxwGdkkeP5D2I,86
64
+ mcp_vector_search-0.9.3.dist-info/licenses/LICENSE,sha256=FqZUgGJH_tZKZLQsMCpXaLawRyLmyFKRVfMwYyEcyTs,1072
65
+ mcp_vector_search-0.9.3.dist-info/RECORD,,