mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
The earlier patch-bump regex passed through a shell+python double-escape that dropped the leading 'version = ' on each match and inserted a stray \x01 byte, leaving '\x01"0.3.3"' instead of 'version = "0.3.3"'. TOML parse fails (line 7 invalid statement) → CI publish-pypi 1/1 jobs exit 1 → none of the 7 axis pkgs published. Each TOML now parses with tomllib; ready for fresh tags.
hanzo-tools-fs
Filesystem tools for Hanzo MCP.
Installation
pip install hanzo-tools-fs
Tools
read - Read Files
read(file_path="/path/to/file.py")
read(file_path="/path/to/file.py", offset=100, limit=50)
write - Write Files
write(file_path="/path/to/file.py", content="...")
edit - Edit Files
edit(
file_path="/path/to/file.py",
old_string="def old():",
new_string="def new():"
)
tree - Directory Structure
tree(path="/project", depth=3)
find - File Discovery
find(pattern="*.py", path="/project")
search - Content Search
search(pattern="TODO|FIXME", path="./src")
ast - Code Structure
ast(pattern="class.*Service", path="/src")
License
MIT