hanzo-mcp 0.6.8__tar.gz → 0.6.9__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.

Potentially problematic release.


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

Files changed (151) hide show
  1. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/PKG-INFO +1 -1
  2. hanzo_mcp-0.6.9/hanzo_mcp/__init__.py +3 -0
  3. hanzo_mcp-0.6.9/hanzo_mcp/__main__.py +17 -0
  4. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/cli.py +6 -9
  5. hanzo_mcp-0.6.9/hanzo_mcp/entry.py +33 -0
  6. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp.egg-info/PKG-INFO +1 -1
  7. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp.egg-info/SOURCES.txt +1 -0
  8. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp.egg-info/entry_points.txt +1 -1
  9. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/pyproject.toml +2 -2
  10. hanzo_mcp-0.6.8/hanzo_mcp/__init__.py +0 -14
  11. hanzo_mcp-0.6.8/hanzo_mcp/__main__.py +0 -22
  12. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/LICENSE +0 -0
  13. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/README.md +0 -0
  14. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/cli_enhanced.py +0 -0
  15. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/config/__init__.py +0 -0
  16. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/config/settings.py +0 -0
  17. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/config/tool_config.py +0 -0
  18. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/dev_server.py +0 -0
  19. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/prompts/__init__.py +0 -0
  20. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/prompts/compact_conversation.py +0 -0
  21. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/prompts/create_release.py +0 -0
  22. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/prompts/project_system.py +0 -0
  23. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/prompts/project_todo_reminder.py +0 -0
  24. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/prompts/utils.py +0 -0
  25. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/server.py +0 -0
  26. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/__init__.py +0 -0
  27. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/agent/__init__.py +0 -0
  28. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/agent/agent.py +0 -0
  29. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/agent/agent_tool.py +0 -0
  30. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/agent/prompt.py +0 -0
  31. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/agent/tool_adapter.py +0 -0
  32. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/__init__.py +0 -0
  33. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/base.py +0 -0
  34. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/batch_tool.py +0 -0
  35. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/config_tool.py +0 -0
  36. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/context.py +0 -0
  37. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/palette.py +0 -0
  38. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/palette_loader.py +0 -0
  39. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/permissions.py +0 -0
  40. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/stats.py +0 -0
  41. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/thinking_tool.py +0 -0
  42. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/tool_disable.py +0 -0
  43. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/tool_enable.py +0 -0
  44. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/tool_list.py +0 -0
  45. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/common/validation.py +0 -0
  46. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/config/__init__.py +0 -0
  47. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/config/config_tool.py +0 -0
  48. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/config/index_config.py +0 -0
  49. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/config/palette_tool.py +0 -0
  50. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/__init__.py +0 -0
  51. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/database_manager.py +0 -0
  52. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/graph.py +0 -0
  53. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/graph_add.py +0 -0
  54. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/graph_query.py +0 -0
  55. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/graph_remove.py +0 -0
  56. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/graph_search.py +0 -0
  57. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/graph_stats.py +0 -0
  58. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/sql.py +0 -0
  59. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/sql_query.py +0 -0
  60. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/sql_search.py +0 -0
  61. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/database/sql_stats.py +0 -0
  62. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/editor/__init__.py +0 -0
  63. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/editor/neovim_command.py +0 -0
  64. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/editor/neovim_edit.py +0 -0
  65. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/editor/neovim_session.py +0 -0
  66. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/__init__.py +0 -0
  67. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/base.py +0 -0
  68. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/batch_search.py +0 -0
  69. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/content_replace.py +0 -0
  70. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/diff.py +0 -0
  71. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/directory_tree.py +0 -0
  72. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/edit.py +0 -0
  73. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/find.py +0 -0
  74. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/find_files.py +0 -0
  75. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/git_search.py +0 -0
  76. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/grep.py +0 -0
  77. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/multi_edit.py +0 -0
  78. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/read.py +0 -0
  79. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/symbols.py +0 -0
  80. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/symbols_unified.py +0 -0
  81. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/tree.py +0 -0
  82. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/unified_search.py +0 -0
  83. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/unix_aliases.py +0 -0
  84. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/watch.py +0 -0
  85. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/filesystem/write.py +0 -0
  86. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/jupyter/__init__.py +0 -0
  87. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/jupyter/base.py +0 -0
  88. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/jupyter/jupyter.py +0 -0
  89. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/jupyter/notebook_edit.py +0 -0
  90. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/jupyter/notebook_read.py +0 -0
  91. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/llm/__init__.py +0 -0
  92. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/llm/consensus_tool.py +0 -0
  93. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/llm/llm_manage.py +0 -0
  94. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/llm/llm_tool.py +0 -0
  95. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/llm/llm_unified.py +0 -0
  96. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/llm/provider_tools.py +0 -0
  97. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/mcp/__init__.py +0 -0
  98. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/mcp/mcp_add.py +0 -0
  99. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/mcp/mcp_remove.py +0 -0
  100. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/mcp/mcp_stats.py +0 -0
  101. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/mcp/mcp_unified.py +0 -0
  102. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/__init__.py +0 -0
  103. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/base.py +0 -0
  104. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/base_process.py +0 -0
  105. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/bash_session.py +0 -0
  106. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/bash_session_executor.py +0 -0
  107. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/bash_unified.py +0 -0
  108. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/command_executor.py +0 -0
  109. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/logs.py +0 -0
  110. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/npx.py +0 -0
  111. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/npx_background.py +0 -0
  112. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/npx_unified.py +0 -0
  113. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/open.py +0 -0
  114. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/pkill.py +0 -0
  115. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/process_unified.py +0 -0
  116. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/processes.py +0 -0
  117. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/run_background.py +0 -0
  118. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/run_command.py +0 -0
  119. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/run_command_windows.py +0 -0
  120. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/session_manager.py +0 -0
  121. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/session_storage.py +0 -0
  122. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/uvx.py +0 -0
  123. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/uvx_background.py +0 -0
  124. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/shell/uvx_unified.py +0 -0
  125. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/todo/__init__.py +0 -0
  126. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/todo/base.py +0 -0
  127. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/todo/todo.py +0 -0
  128. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/todo/todo_read.py +0 -0
  129. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/todo/todo_write.py +0 -0
  130. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/vector/__init__.py +0 -0
  131. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/vector/ast_analyzer.py +0 -0
  132. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/vector/git_ingester.py +0 -0
  133. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/vector/index_tool.py +0 -0
  134. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/vector/infinity_store.py +0 -0
  135. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/vector/mock_infinity.py +0 -0
  136. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/vector/project_manager.py +0 -0
  137. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/vector/vector.py +0 -0
  138. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/vector/vector_index.py +0 -0
  139. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp/tools/vector/vector_search.py +0 -0
  140. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp.egg-info/dependency_links.txt +0 -0
  141. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp.egg-info/requires.txt +0 -0
  142. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/hanzo_mcp.egg-info/top_level.txt +0 -0
  143. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/setup.cfg +0 -0
  144. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/setup.py +0 -0
  145. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/tests/test_async_support.py +0 -0
  146. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/tests/test_cli.py +0 -0
  147. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/tests/test_git_ingestion.py +0 -0
  148. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/tests/test_new_tools.py +0 -0
  149. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/tests/test_search_quality.py +0 -0
  150. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/tests/test_unified_search.py +0 -0
  151. {hanzo_mcp-0.6.8 → hanzo_mcp-0.6.9}/tests/test_vector_store.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hanzo-mcp
3
- Version: 0.6.8
3
+ Version: 0.6.9
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
@@ -0,0 +1,3 @@
1
+ """Hanzo MCP - Implementation of Hanzo capabilities using MCP."""
2
+
3
+ __version__ = "0.6.9"
@@ -0,0 +1,17 @@
1
+ """Main entry point for hanzo-mcp when run as a module."""
2
+
3
+ # MUST suppress warnings BEFORE any imports
4
+ import warnings
5
+ import os
6
+
7
+ # Set environment variable for child processes
8
+ os.environ["PYTHONWARNINGS"] = "ignore::DeprecationWarning"
9
+
10
+ # Suppress all deprecation warnings
11
+ warnings.filterwarnings("ignore", category=DeprecationWarning)
12
+
13
+ # Now we can import
14
+ from hanzo_mcp.cli import main
15
+
16
+ if __name__ == "__main__":
17
+ main()
@@ -1,28 +1,25 @@
1
1
  """Command-line interface for the Hanzo MCP server."""
2
2
 
3
+ # CRITICAL: Suppress warnings BEFORE any imports that might trigger them
3
4
  import warnings
4
- import sys
5
5
  import os
6
+ import sys
6
7
 
7
- # Set environment variable to suppress warnings
8
+ # Set environment variable to suppress warnings in subprocesses
8
9
  os.environ["PYTHONWARNINGS"] = "ignore::DeprecationWarning"
9
10
 
10
- # Suppress ALL deprecation warnings before any imports
11
+ # Suppress ALL deprecation warnings
11
12
  warnings.simplefilter("ignore", DeprecationWarning)
12
13
  warnings.filterwarnings("ignore", category=DeprecationWarning)
13
14
 
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
-
15
+ # Now safe to import everything else
20
16
  import argparse
21
17
  import json
22
18
  import signal
23
19
  from pathlib import Path
24
20
  from typing import Any, cast
25
21
 
22
+ # Import server AFTER warning suppression
26
23
  from hanzo_mcp.server import HanzoMCPServer
27
24
 
28
25
 
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env python
2
+ """Entry point that suppresses warnings before importing anything."""
3
+
4
+ def main():
5
+ # Nuclear option - override warnings.warn before ANY imports
6
+ import warnings
7
+ import os
8
+ import sys
9
+
10
+ # Store original
11
+ _original_warn = warnings.warn
12
+
13
+ # Override with filter
14
+ def filtered_warn(message, category=None, stacklevel=1):
15
+ # Skip Pydantic deprecation warnings
16
+ if (category == DeprecationWarning and
17
+ ("class-based `config`" in str(message) or
18
+ "PydanticDeprecatedSince20" in str(message))):
19
+ return
20
+ _original_warn(message, category, stacklevel)
21
+
22
+ # Replace globally
23
+ warnings.warn = filtered_warn
24
+
25
+ # Also set environment
26
+ os.environ["PYTHONWARNINGS"] = "ignore::DeprecationWarning"
27
+
28
+ # Now import the CLI
29
+ from hanzo_mcp.cli import main as cli_main
30
+ cli_main()
31
+
32
+ if __name__ == "__main__":
33
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hanzo-mcp
3
- Version: 0.6.8
3
+ Version: 0.6.9
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
@@ -7,6 +7,7 @@ hanzo_mcp/__main__.py
7
7
  hanzo_mcp/cli.py
8
8
  hanzo_mcp/cli_enhanced.py
9
9
  hanzo_mcp/dev_server.py
10
+ hanzo_mcp/entry.py
10
11
  hanzo_mcp/server.py
11
12
  hanzo_mcp.egg-info/PKG-INFO
12
13
  hanzo_mcp.egg-info/SOURCES.txt
@@ -1,3 +1,3 @@
1
1
  [console_scripts]
2
- hanzo-mcp = hanzo_mcp.cli:main
2
+ hanzo-mcp = hanzo_mcp.entry:main
3
3
  hanzo-mcp-dev = hanzo_mcp.dev_server:run_dev_server
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "hanzo-mcp"
7
- version = "0.6.8"
7
+ version = "0.6.9"
8
8
  description = "The Zen of Hanzo MCP: One server to rule them all. The ultimate MCP that orchestrates all others."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -54,7 +54,7 @@ performance = ["ujson>=5.7.0", "orjson>=3.9.0"]
54
54
  publish = ["twine>=4.0.2", "build>=1.0.3"]
55
55
 
56
56
  [project.scripts]
57
- hanzo-mcp = "hanzo_mcp.cli:main"
57
+ hanzo-mcp = "hanzo_mcp.entry:main"
58
58
  hanzo-mcp-dev = "hanzo_mcp.dev_server:run_dev_server"
59
59
 
60
60
  [tool.setuptools.packages.find]
@@ -1,14 +0,0 @@
1
- """Hanzo MCP - Implementation of Hanzo capabilities using MCP."""
2
-
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"
@@ -1,22 +0,0 @@
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()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes