mcp-vector-search 0.4.11__py3-none-any.whl → 0.4.12__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.4.11"
4
- __build__ = "14"
3
+ __version__ = "0.4.12"
4
+ __build__ = "15"
5
5
  __author__ = "Robert Matsuoka"
6
6
  __email__ = "bobmatnyc@gmail.com"
7
7
 
@@ -22,7 +22,6 @@ from ..output import (
22
22
  init_app = typer.Typer(help="Initialize project for semantic search")
23
23
 
24
24
 
25
- @init_app.command()
26
25
  def main(
27
26
  ctx: typer.Context,
28
27
  config_file: Path | None = typer.Option(
@@ -92,10 +91,10 @@ def main(
92
91
  Perfect for getting started quickly in any project!
93
92
 
94
93
  Examples:
95
- mcp-vector-search init main # Full setup with smart defaults
96
- mcp-vector-search init main --no-mcp # Setup without MCP integration
97
- mcp-vector-search init main --extensions .py,.js,.ts,.txt # Custom file types
98
- mcp-vector-search init main --force # Re-initialize existing project
94
+ mcp-vector-search init # Full setup with smart defaults
95
+ mcp-vector-search init --no-mcp # Setup without MCP integration
96
+ mcp-vector-search init --extensions .py,.js,.ts,.txt # Custom file types
97
+ mcp-vector-search init --force # Re-initialize existing project
99
98
  """
100
99
  try:
101
100
  # Get project root from context or auto-detect
@@ -168,7 +167,7 @@ def main(
168
167
  if project_manager.is_initialized() and not force:
169
168
  print_success("Project is already initialized and ready to use!")
170
169
  print_info("Your project has vector search capabilities enabled.")
171
- print_info("Use --force to re-initialize or run 'mcp-vector-search status main' to see current configuration")
170
+ print_info("Use --force to re-initialize or run 'mcp-vector-search status' to see current configuration")
172
171
  return # Exit gracefully without raising an exception
173
172
 
174
173
  # Parse file extensions
@@ -11,7 +11,13 @@ from .. import __build__, __version__
11
11
  from .commands.auto_index import auto_index_app
12
12
  from .commands.config import config_app
13
13
  from .commands.index import index_app
14
- from .commands.init import init_app
14
+ from .commands.init import (
15
+ init_app,
16
+ main as init_main,
17
+ check_initialization as init_check,
18
+ init_mcp_integration,
19
+ list_embedding_models,
20
+ )
15
21
  from .commands.install import install_app
16
22
  from .commands.mcp import mcp_app
17
23
  from .commands.search import (
@@ -45,7 +51,12 @@ from .commands.status import main as status_main
45
51
  app.command("install", help="🚀 Install mcp-vector-search in projects")(install_main)
46
52
  app.command("demo", help="🎬 Run installation demo with sample project")(install_demo)
47
53
  app.command("status", help="📊 Show project status and statistics")(status_main)
48
- app.add_typer(init_app, name="init", help="🔧 Initialize project for semantic search")
54
+ # Register init as a direct command
55
+ app.command("init", help="🔧 Initialize project for semantic search")(init_main)
56
+ # Add init subcommands as separate commands
57
+ app.command("init-check", help="Check if project is initialized")(init_check)
58
+ app.command("init-mcp", help="Install/fix Claude Code MCP integration")(init_mcp_integration)
59
+ app.command("init-models", help="List available embedding models")(list_embedding_models)
49
60
  app.add_typer(index_app, name="index", help="Index codebase for semantic search")
50
61
  app.add_typer(config_app, name="config", help="Manage project configuration")
51
62
  app.add_typer(watch_app, name="watch", help="Watch for file changes and update index")
@@ -89,9 +89,9 @@ class MCPVectorSearchServer:
89
89
  # Setup indexer for file watching
90
90
  if self.enable_file_watching:
91
91
  self.indexer = SemanticIndexer(
92
+ database=self.database,
92
93
  project_root=self.project_root,
93
- config=config,
94
- database=self.database
94
+ file_extensions=config.file_extensions
95
95
  )
96
96
 
97
97
  # Setup file watcher
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-vector-search
3
- Version: 0.4.11
3
+ Version: 0.4.12
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,17 +1,17 @@
1
- mcp_vector_search/__init__.py,sha256=DkCCUQptV_fCic0NkgSY40nsETsW8BH9qBOaV0euOLk,300
1
+ mcp_vector_search/__init__.py,sha256=nFyxm4tNaoAt44JrlTIxd09tNWtdvFhQr-svXkpKxTo,300
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=F4b9jTJfeAkg5XLDx93sgiNS-o7NTmnDVEwDrNcg64w,6438
5
5
  mcp_vector_search/cli/export.py,sha256=iluxuRT2KELdKlQeDAlVkteiel4GGrng153UAw9H0as,10804
6
6
  mcp_vector_search/cli/history.py,sha256=osQVNiTIdGSRZQiJEjC_AYMmHxaqv7RSKSeuO325Ip0,9115
7
7
  mcp_vector_search/cli/interactive.py,sha256=T7P4dAdvbglznzQYgiePv5YNyOx9FeE57Y3OKYnnbYE,12744
8
- mcp_vector_search/cli/main.py,sha256=-r-kf7C1XENCQANM4UX4DUhUmslNvTh1W3jD6_M9Vbo,8569
8
+ mcp_vector_search/cli/main.py,sha256=q_714AV8q7Euf5fTgk5Zs82ELrZ44mRbFqMOmZklZcw,9030
9
9
  mcp_vector_search/cli/output.py,sha256=TGtWHrsfFg2tFf05aplZI2pDkoSnlKf_if78qXSRDtE,8077
10
10
  mcp_vector_search/cli/commands/__init__.py,sha256=vQls-YKZ54YEwmf7g1dL0T2SS9D4pdQljXzsUChG_V4,42
11
11
  mcp_vector_search/cli/commands/auto_index.py,sha256=imVVbxWRlA128NPdK9BetNNl3ELrsdq-hqcsLqyAmoM,12712
12
12
  mcp_vector_search/cli/commands/config.py,sha256=EHLqToCXrZs3gjIAg7pV8Bq8yVslUXWC4AnTcZQgSPQ,11337
13
13
  mcp_vector_search/cli/commands/index.py,sha256=LsFCfqfXWd5s11wE_21mpsTitmsKsdGUhbmPNgAmIzc,14015
14
- mcp_vector_search/cli/commands/init.py,sha256=1Q5ANcjE7bty2QG0hvKx_ZSypyiwkKDhgkkJPEFKPtI,24861
14
+ mcp_vector_search/cli/commands/init.py,sha256=vKg4JlWaPipa9Nca-ruLs8ZZ5tXbczDQrPjHzp9zN1A,24816
15
15
  mcp_vector_search/cli/commands/install.py,sha256=sE5mjv2pCDp2tvMj4UqfKLHpSt8Yedcb_CirWLoedDw,10375
16
16
  mcp_vector_search/cli/commands/mcp.py,sha256=gpt9hfSmfpcr4rdis2DsenhNnGW5a0B8Xmb3RVEEtuY,17822
17
17
  mcp_vector_search/cli/commands/search.py,sha256=UmMtRs15ZO5Bzc_DKWgBRoGwZgm9XXn6Lppsl1o-1I0,16785
@@ -36,7 +36,7 @@ mcp_vector_search/core/search.py,sha256=qViLXKQuxJEHejtuQDiZOF-sd0IY59xsztxI6hRj
36
36
  mcp_vector_search/core/watcher.py,sha256=-DFRCnuUfcqcTrkZPQqfJSvxKAxnpt-axgEj1V-B0O4,10862
37
37
  mcp_vector_search/mcp/__init__.py,sha256=gfKR0QV7Jqvj5y0LMBe9gSghd5_rPsvm_rml0ryQtoY,158
38
38
  mcp_vector_search/mcp/__main__.py,sha256=vhAUa4S8hoXqfJt4w0yX5z2h5GoPAar8iFqgIW-WdbY,575
39
- mcp_vector_search/mcp/server.py,sha256=6v7tnR5k5LZKEvtf9o98WozgpP7k9hGtnmtZlkbyrCs,26995
39
+ mcp_vector_search/mcp/server.py,sha256=mzlM2RGAoSV-bj6CWOGA86VTBv6weUQPlhVETKwSj80,27020
40
40
  mcp_vector_search/parsers/__init__.py,sha256=nk4clWDWQURMxzC1ev8O_vGlfraHlXqizTDXgFqIP5U,46
41
41
  mcp_vector_search/parsers/base.py,sha256=-zBY9T0modfegowaNyf5_upkS3ImR4TgrRwoSLuAiDw,5421
42
42
  mcp_vector_search/parsers/javascript.py,sha256=P7fT_tXCzUuXATTkTx_DyD4EuG0_KjIDlay09MhkKTE,9824
@@ -47,8 +47,8 @@ mcp_vector_search/utils/__init__.py,sha256=Eq6lY-oPMfCt-GpPUbg9QbmTHuQVmTaVDBMU2
47
47
  mcp_vector_search/utils/gitignore.py,sha256=U1-1FERSYnDbxkH8JGG_azLxLasqkAh1urRUbZskmRU,8208
48
48
  mcp_vector_search/utils/timing.py,sha256=THC7mfbTYnUpnnDcblgQacYMzbEkfFoIShx6plmhCgg,11285
49
49
  mcp_vector_search/utils/version.py,sha256=d7fS-CLemxb8UzZ9j18zH0Y0Ud097ljKKYYOPulnGPE,1138
50
- mcp_vector_search-0.4.11.dist-info/METADATA,sha256=S5y5Rgo8GPxUGCCffMsek-sOI0yxYL0EPKmt0E23wgg,15890
51
- mcp_vector_search-0.4.11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
52
- mcp_vector_search-0.4.11.dist-info/entry_points.txt,sha256=dw8_HpBvwhauz6bkMbs3QM6dbstV1mPGo9DcNpVM-bE,69
53
- mcp_vector_search-0.4.11.dist-info/licenses/LICENSE,sha256=FqZUgGJH_tZKZLQsMCpXaLawRyLmyFKRVfMwYyEcyTs,1072
54
- mcp_vector_search-0.4.11.dist-info/RECORD,,
50
+ mcp_vector_search-0.4.12.dist-info/METADATA,sha256=opAJJIZHYh57dju7UAooK4ijFMZ5PjkQ0TvjEdlJ68Y,15890
51
+ mcp_vector_search-0.4.12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
52
+ mcp_vector_search-0.4.12.dist-info/entry_points.txt,sha256=dw8_HpBvwhauz6bkMbs3QM6dbstV1mPGo9DcNpVM-bE,69
53
+ mcp_vector_search-0.4.12.dist-info/licenses/LICENSE,sha256=FqZUgGJH_tZKZLQsMCpXaLawRyLmyFKRVfMwYyEcyTs,1072
54
+ mcp_vector_search-0.4.12.dist-info/RECORD,,