hanzo-mcp 0.1.33__py3-none-any.whl → 0.1.35__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,3 @@
1
1
  """Hanzo MCP - Implementation of Hanzo capabilities using MCP."""
2
2
 
3
- __version__ = "0.1.8"
3
+ __version__ = "0.1.35"
@@ -1,9 +1,6 @@
1
1
  """Version tool for displaying project version information."""
2
2
 
3
- import importlib.metadata
4
- import os
5
- import tomllib
6
- from typing import Any, Dict, TypedDict, cast, final, override
3
+ from typing import Any, Dict, TypedDict, final, override
7
4
 
8
5
  from mcp.server.fastmcp import Context as MCPContext
9
6
  from mcp.server.fastmcp import FastMCP
@@ -101,21 +98,10 @@ class VersionTool(BaseTool):
101
98
  Returns:
102
99
  A dictionary containing the package name and version
103
100
  """
104
- try:
105
- version = importlib.metadata.version("hanzo-mcp")
106
- except importlib.metadata.PackageNotFoundError:
107
- # If package not installed, try to read from pyproject.toml
108
- try:
109
- root_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", ".."))
110
- toml_path = os.path.join(root_dir, "pyproject.toml")
111
-
112
- with open(toml_path, "rb") as f:
113
- pyproject = tomllib.load(f)
114
- version = cast(str, pyproject.get("project", {}).get("version", "unknown"))
115
- except Exception:
116
- version = "unknown"
101
+ # Directly use the __version__ from the hanzo_mcp package
102
+ from hanzo_mcp import __version__
117
103
 
118
- return {"version": version, "package_name": "hanzo-mcp"}
104
+ return {"version": __version__, "package_name": "hanzo-mcp"}
119
105
 
120
106
  @override
121
107
  def register(self, mcp_server: FastMCP) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hanzo-mcp
3
- Version: 0.1.33
3
+ Version: 0.1.35
4
4
  Summary: MCP implementation of Hanzo capabilities
5
5
  Author-email: Hanzo Industries Inc <dev@hanzo.ai>
6
6
  License: MIT
@@ -146,14 +146,19 @@ make bump-patch # Increment patch version (0.1.x → 0.1.x+1)
146
146
  make bump-minor # Increment minor version (0.x.0 → 0.x+1.0)
147
147
  make bump-major # Increment major version (x.0.0 → x+1.0.0)
148
148
 
149
+ # Manual version bumping (alternative to make commands)
150
+ python -m scripts.bump_version patch # Increment patch version
151
+ python -m scripts.bump_version minor # Increment minor version
152
+ python -m scripts.bump_version major # Increment major version
153
+
149
154
  # Publishing (creates git tag and pushes it to GitHub)
150
155
  make publish # Publish using configured credentials in .pypirc
151
156
  PYPI_TOKEN=your_token make publish # Publish with token from environment variable
152
157
 
153
- # Version bump and publish in one step (with automatic git tagging)
154
- make publish-patch # Bump patch version, publish, and create git tag
155
- make publish-minor # Bump minor version, publish, and create git tag
156
- make publish-major # Bump major version, publish, and create git tag
158
+ # Publishing (creates git tag, pushes to GitHub, and publishes to PyPI)
159
+ make patch # Bump patch version, build, publish, create git tag, and push
160
+ make minor # Bump minor version, build, publish, create git tag, and push
161
+ make major # Bump major version, build, publish, create git tag, and push
157
162
 
158
163
  # Publish to Test PyPI
159
164
  make publish-test
@@ -1,4 +1,4 @@
1
- hanzo_mcp/__init__.py,sha256=Y5rIvHCEKCc1GKgt4XqjpEjZa91JOu3fSPnJZSBZJ70,89
1
+ hanzo_mcp/__init__.py,sha256=CORvlrxN3iL_OvRoZJZxvZ66fZJY0KGcDrgDDVDB9Qw,90
2
2
  hanzo_mcp/cli.py,sha256=G0Klg7RMK9XLehLT9ysWbpii0XRrECglUaxwvCekl7g,7201
3
3
  hanzo_mcp/server.py,sha256=j2UagHTxwCbZrnhODbMUI0wdZ-7yLFxB9-ZbignZFzg,5671
4
4
  hanzo_mcp/tools/__init__.py,sha256=3IHzhmSiAbxg2yvqVJn4SH6YP_DSnxYaNk9ccBtk7H0,3339
@@ -13,7 +13,7 @@ hanzo_mcp/tools/common/permissions.py,sha256=4YCfA2PJUOl-z_47n5uaRXO8gAZ_shMaPhp
13
13
  hanzo_mcp/tools/common/session.py,sha256=csX5ZhgBjO2bdXXXPpsUPzOCc7Tib-apYe01AP8sh8k,2774
14
14
  hanzo_mcp/tools/common/thinking_tool.py,sha256=I-O6ipM-PUofkNoMMzv37Y_2Yfx9mh7F1upTTsfRN4M,4046
15
15
  hanzo_mcp/tools/common/validation.py,sha256=gB3uM_cbPZsH4Ez0hnTgIcdP-AUlHZU02aRmZEpk_6I,3648
16
- hanzo_mcp/tools/common/version_tool.py,sha256=3QiSCRTc0fgf2vZw0XVCL1V3Gl7T5OMFrAUUJSJqMVE,4018
16
+ hanzo_mcp/tools/common/version_tool.py,sha256=4bJZhqgtvwQMyVSSZ-xU-NQvr1xfnyDi_4FnOpZvuw0,3406
17
17
  hanzo_mcp/tools/filesystem/__init__.py,sha256=-wNhb0IjJgz05n_fRP0wDXfKgJ6fgBp4wrGo62Hpyvc,3265
18
18
  hanzo_mcp/tools/filesystem/base.py,sha256=HAzuMCrS0dKOBZNoLr7y74tdbYyKpi0FGhStuRgkFTU,3917
19
19
  hanzo_mcp/tools/filesystem/content_replace.py,sha256=ZwzxyOTASUmzP-jtEnsSR-MKtNFC4R3kQunpV3KOCyg,11049
@@ -38,9 +38,9 @@ hanzo_mcp/tools/shell/command_executor.py,sha256=5GcJvg54uty9fl_tkGdWTBcHyjxuynQ
38
38
  hanzo_mcp/tools/shell/run_command.py,sha256=r7HBw0lqabgkGnVsDXmLnrTo0SU9g8gLvzpa-9n-cmM,6891
39
39
  hanzo_mcp/tools/shell/run_script.py,sha256=CLYnDc0Ze8plkXU6d98RgE4UrBg-fwaMVdcn9Fc6Ixw,7432
40
40
  hanzo_mcp/tools/shell/script_tool.py,sha256=s63tawIZBvwgm_kU9P7A3D4v2ulVw7j4l_rpsa_zGuc,8680
41
- hanzo_mcp-0.1.33.dist-info/licenses/LICENSE,sha256=mf1qZGFsPGskoPgytp9B-RsahfKvXsBpmaAbTLGTt8Y,1063
42
- hanzo_mcp-0.1.33.dist-info/METADATA,sha256=FPFTd1ry4CzrABIY_vy8W87Y4tAgHEKnSPhpmQzNlIE,7277
43
- hanzo_mcp-0.1.33.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
44
- hanzo_mcp-0.1.33.dist-info/entry_points.txt,sha256=aRKOKXtuQr-idSr-yH4efnRl2v8te94AcgN3ysqqSYs,49
45
- hanzo_mcp-0.1.33.dist-info/top_level.txt,sha256=eGFANatA0MHWiVlpS56fTYRIShtibrSom1uXI6XU0GU,10
46
- hanzo_mcp-0.1.33.dist-info/RECORD,,
41
+ hanzo_mcp-0.1.35.dist-info/licenses/LICENSE,sha256=mf1qZGFsPGskoPgytp9B-RsahfKvXsBpmaAbTLGTt8Y,1063
42
+ hanzo_mcp-0.1.35.dist-info/METADATA,sha256=4pFM0WHFNJhGuwIu_XUT3rdPn5SBQTnRHVpINX6K7eo,7551
43
+ hanzo_mcp-0.1.35.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
44
+ hanzo_mcp-0.1.35.dist-info/entry_points.txt,sha256=aRKOKXtuQr-idSr-yH4efnRl2v8te94AcgN3ysqqSYs,49
45
+ hanzo_mcp-0.1.35.dist-info/top_level.txt,sha256=eGFANatA0MHWiVlpS56fTYRIShtibrSom1uXI6XU0GU,10
46
+ hanzo_mcp-0.1.35.dist-info/RECORD,,