hanzo-mcp 0.6.5__py3-none-any.whl → 0.6.8__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 hanzo-mcp might be problematic. Click here for more details.

hanzo_mcp/__init__.py CHANGED
@@ -1,3 +1,14 @@
1
1
  """Hanzo MCP - Implementation of Hanzo capabilities using MCP."""
2
2
 
3
- __version__ = "0.6.5"
3
+ import warnings
4
+
5
+ # Aggressively suppress ALL deprecation warnings from pydantic before any imports
6
+ warnings.filterwarnings("ignore", category=DeprecationWarning, module="pydantic.*")
7
+ warnings.filterwarnings("ignore", category=DeprecationWarning, module="pydantic._internal.*")
8
+ warnings.filterwarnings("ignore", category=DeprecationWarning, module="litellm.*")
9
+
10
+ # Also catch specific patterns
11
+ warnings.filterwarnings("ignore", message=".*class-based.*config.*deprecated.*")
12
+ warnings.filterwarnings("ignore", message=".*PydanticDeprecatedSince20.*")
13
+
14
+ __version__ = "0.6.8"
hanzo_mcp/__main__.py ADDED
@@ -0,0 +1,22 @@
1
+ """Main entry point for hanzo-mcp when run as a module."""
2
+
3
+ import warnings
4
+
5
+ # Suppress ALL Pydantic deprecation warnings before any imports
6
+ warnings.filterwarnings(
7
+ "ignore",
8
+ category=DeprecationWarning,
9
+ module="pydantic.*"
10
+ )
11
+
12
+ # Also try to catch the specific message pattern
13
+ warnings.filterwarnings(
14
+ "ignore",
15
+ message=".*class-based.*config.*deprecated.*"
16
+ )
17
+
18
+ # Import cli after setting up warnings
19
+ from hanzo_mcp.cli import main
20
+
21
+ if __name__ == "__main__":
22
+ main()
hanzo_mcp/cli.py CHANGED
@@ -1,10 +1,25 @@
1
1
  """Command-line interface for the Hanzo MCP server."""
2
2
 
3
+ import warnings
4
+ import sys
5
+ import os
6
+
7
+ # Set environment variable to suppress warnings
8
+ os.environ["PYTHONWARNINGS"] = "ignore::DeprecationWarning"
9
+
10
+ # Suppress ALL deprecation warnings before any imports
11
+ warnings.simplefilter("ignore", DeprecationWarning)
12
+ warnings.filterwarnings("ignore", category=DeprecationWarning)
13
+
14
+ # Specifically target pydantic internal warnings
15
+ if not sys.warnoptions:
16
+ warnings.filterwarnings("ignore", module="pydantic._internal")
17
+ warnings.filterwarnings("ignore", module="pydantic")
18
+ warnings.filterwarnings("ignore", module="litellm")
19
+
3
20
  import argparse
4
21
  import json
5
- import os
6
22
  import signal
7
- import sys
8
23
  from pathlib import Path
9
24
  from typing import Any, cast
10
25
 
hanzo_mcp/server.py CHANGED
@@ -4,8 +4,17 @@ import atexit
4
4
  import signal
5
5
  import threading
6
6
  import time
7
+ import warnings
7
8
  from typing import Literal, cast, final
8
9
 
10
+ # Suppress deprecation warnings from litellm about Pydantic v1 style configs
11
+ warnings.filterwarnings(
12
+ "ignore",
13
+ category=DeprecationWarning,
14
+ message=".*class-based `config`.*",
15
+ module="pydantic.*"
16
+ )
17
+
9
18
  try:
10
19
  from fastmcp import FastMCP
11
20
  except ImportError:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hanzo-mcp
3
- Version: 0.6.5
3
+ Version: 0.6.8
4
4
  Summary: The Zen of Hanzo MCP: One server to rule them all. The ultimate MCP that orchestrates all others.
5
5
  Author-email: Hanzo Industries Inc <dev@hanzo.ai>
6
6
  License: MIT
@@ -14,22 +14,22 @@ Classifier: Operating System :: OS Independent
14
14
  Requires-Python: >=3.12
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
- Requires-Dist: mcp>=1.6.0
17
+ Requires-Dist: mcp>=1.9.4
18
18
  Requires-Dist: fastmcp>=2.9.2
19
- Requires-Dist: httpx>=0.27.0
20
- Requires-Dist: uvicorn>=0.23.1
21
- Requires-Dist: openai>=1.50.0
22
- Requires-Dist: python-dotenv>=1.0.0
23
- Requires-Dist: litellm>=1.40.14
19
+ Requires-Dist: httpx>=0.28.1
20
+ Requires-Dist: uvicorn>=0.34.0
21
+ Requires-Dist: openai>=1.62.0
22
+ Requires-Dist: python-dotenv>=1.0.1
23
+ Requires-Dist: litellm>=1.73.2
24
24
  Requires-Dist: grep-ast>=0.8.1
25
25
  Requires-Dist: bashlex>=0.18
26
26
  Requires-Dist: libtmux>=0.39.0
27
27
  Requires-Dist: nbformat>=5.10.4
28
- Requires-Dist: psutil>=6.1.0
29
- Requires-Dist: pydantic>=2.11.0
28
+ Requires-Dist: psutil>=6.1.1
29
+ Requires-Dist: pydantic>=2.11.1
30
30
  Requires-Dist: pydantic-settings>=2.7.0
31
- Requires-Dist: typing-extensions>=4.12.2
32
- Requires-Dist: watchdog>=3.0.0
31
+ Requires-Dist: typing-extensions>=4.13.0
32
+ Requires-Dist: watchdog>=6.0.0
33
33
  Provides-Extra: dev
34
34
  Requires-Dist: pytest>=7.0.0; extra == "dev"
35
35
  Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
@@ -1,8 +1,9 @@
1
- hanzo_mcp/__init__.py,sha256=clqkVCnzsixFumDaPX4GZd-9AiVUlnPqinalmHMNq14,89
2
- hanzo_mcp/cli.py,sha256=j-n3YgOp9mBE3aNwAdXZX9f1uS9KE6ON0fLetauuk9E,11340
1
+ hanzo_mcp/__init__.py,sha256=N7kwt8VxU-3qGm2d9ToP84b0QMvtkOriMZlfhYYohFA,638
2
+ hanzo_mcp/__main__.py,sha256=kdAy3pjtKmFyFw0c8uU7fN--USerR4ubfD7ai3BWlgI,490
3
+ hanzo_mcp/cli.py,sha256=cUHm6z9V5KVnRW7wJoXVPtxfaOgLpPImg4f1DmS3se8,11891
3
4
  hanzo_mcp/cli_enhanced.py,sha256=rqh9gqyjMuUznIlPTC5pcIGYZTKAScacMsDb1e68ReE,15819
4
5
  hanzo_mcp/dev_server.py,sha256=_Ti0P7y8VNK5z4NiZ1BN5L_KdWhWYJ4IG2U6GZObzyM,7869
5
- hanzo_mcp/server.py,sha256=V6FvxLt1-krVzdZm8wIwITThKUO3jbCocQcqRvKHuDM,8307
6
+ hanzo_mcp/server.py,sha256=W5mUxylqzBXGKOLxQq49bS4iL89cxbrXGs_m_Sw_aqw,8540
6
7
  hanzo_mcp/config/__init__.py,sha256=iZYGSJMsC1c97gRFqgyowfP4XW480BBVRAQq1r-Dp7g,506
7
8
  hanzo_mcp/config/settings.py,sha256=F4ya4pHoxGACawPo4hd0bwfk6MwXvrTjH0WMBQpUN8I,16259
8
9
  hanzo_mcp/config/tool_config.py,sha256=AT5eJRZAL8VTLu5DCdoC_MkDxtufVE_QOj7Yp_Fyi8k,6317
@@ -126,9 +127,9 @@ hanzo_mcp/tools/vector/project_manager.py,sha256=xrkRl7niWjJrtSNaEOppkPzDFDw9FaE
126
127
  hanzo_mcp/tools/vector/vector.py,sha256=EpKEDkRfSHsDfPewqRwNAulX0BndlK48p-sFSMtt3js,10179
127
128
  hanzo_mcp/tools/vector/vector_index.py,sha256=IqXoEfEk6TOOEThXw4obePZqfvBRiYL_LCrx8z35-h8,4403
128
129
  hanzo_mcp/tools/vector/vector_search.py,sha256=jwX1azf4V4seqJ2CIDloX3lJ5_hkUl7X5e2OOgGXQNk,9647
129
- hanzo_mcp-0.6.5.dist-info/licenses/LICENSE,sha256=mf1qZGFsPGskoPgytp9B-RsahfKvXsBpmaAbTLGTt8Y,1063
130
- hanzo_mcp-0.6.5.dist-info/METADATA,sha256=XotfYagTOufmKkUs8evjC8J7AiFfVKJWkpLKMGn-L_Q,11067
131
- hanzo_mcp-0.6.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
132
- hanzo_mcp-0.6.5.dist-info/entry_points.txt,sha256=Q_g5SzWk47z2b_rE_RgonVqk4-d8VQ6pqwMveYiXJuU,101
133
- hanzo_mcp-0.6.5.dist-info/top_level.txt,sha256=eGFANatA0MHWiVlpS56fTYRIShtibrSom1uXI6XU0GU,10
134
- hanzo_mcp-0.6.5.dist-info/RECORD,,
130
+ hanzo_mcp-0.6.8.dist-info/licenses/LICENSE,sha256=mf1qZGFsPGskoPgytp9B-RsahfKvXsBpmaAbTLGTt8Y,1063
131
+ hanzo_mcp-0.6.8.dist-info/METADATA,sha256=pzLYRhtq429PBAKfJc5nyVE01LV88YY9Ce99M8T-PMU,11066
132
+ hanzo_mcp-0.6.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
133
+ hanzo_mcp-0.6.8.dist-info/entry_points.txt,sha256=Q_g5SzWk47z2b_rE_RgonVqk4-d8VQ6pqwMveYiXJuU,101
134
+ hanzo_mcp-0.6.8.dist-info/top_level.txt,sha256=eGFANatA0MHWiVlpS56fTYRIShtibrSom1uXI6XU0GU,10
135
+ hanzo_mcp-0.6.8.dist-info/RECORD,,