Releases: hanzoai/python-sdk
Releases · hanzoai/python-sdk
v2.3.0 — ZAP CloudClient + Security Fixes
What's New
- hanzo-zap CloudClient: Binary wire protocol client (1000x faster than REST)
- Wire protocol rewrite: Builder/ObjectBuilder matching Rust architecture
- Security: 6 findings fixed (buffer read bypass, TLS, OOM DoS, overflow)
Published to PyPI — all packages updated.
🚀 Published Python Packages
The following packages have been published to PyPI:
- ✅ hanzoai - View on PyPI
- ✅ hanzo - View on PyPI
- ✅ hanzo-cli - View on PyPI
- ✅ hanzo-kms - View on PyPI
- ✅ hanzo-iam - View on PyPI
- ✅ hanzo-consensus - View on PyPI
- ✅ hanzo-network - View on PyPI
- ✅ hanzo-mcp - View on PyPI
- ✅ hanzo-memory - View on PyPI
- ✅ hanzo-aci - View on PyPI
- ✅ hanzo-repl - View on PyPI
- ✅ hanzo-tools-core - View on PyPI
- ✅ hanzo-tools-fs - View on PyPI
- ✅ hanzo-tools-shell - View on PyPI
- ✅ hanzo-tools-browser - View on PyPI
- ✅ hanzo-tools-memory - View on PyPI
- ✅ hanzo-tools-todo - View on PyPI
- ✅ hanzo-tools-reasoning - View on PyPI
- ✅ hanzo-tools-lsp - View on PyPI
- ✅ hanzo-tools-refactor - View on PyPI
- ✅ hanzo-tools-database - View on PyPI
- ✅ hanzo-tools-agent - View on PyPI
- ✅ hanzo-tools-jupyter - View on PyPI
- ✅ hanzo-tools-editor - View on PyPI
- ✅ hanzo-tools-llm - View on PyPI
- ✅ hanzo-tools-vector - View on PyPI
- ✅ hanzo-tools-config - View on PyPI
- ✅ hanzo-tools-mcp - View on PyPI
- ✅ hanzo-tools-computer - View on PyPI
- ✅ hanzo-tools - View on PyPI
Installation
# Install main SDK
pip install hanzo
# Install MCP tools
pip install hanzo-mcp
# Install individual tool packages
pip install hanzo-tools # All tools
pip install hanzo-tools-core # Core onlyhanzo-mcp v0.15.0
HIP-0300 Bidirectional Action Parity
Complete action sync across Python, TypeScript, and Rust implementations.
What's New
- code tool: +8 actions (search_symbol, outline, metrics, exports, types, hierarchy, rename, grep_replace)
- fetch tool: +2 actions (request, open)
- Full parity with
@hanzo/mcp2.5.0 and Rust crate 2.5.0
Install
pip install hanzo-mcp==0.15.0Hanzo v0.3.10 & hanzo-mcp v0.8.1
🚀 Release Notes
hanzo-mcp v0.8.1
- ✅ 100% test pass rate achieved (31/31 tests passing)
- 🔧 Removed all unconditional test skips
- 🐛 Fixed parameter mismatches in tool initialization
- 🎭 Added comprehensive mocking for optional dependencies
- 🧪 Implemented property-based testing patterns
- 💪 Added robustness tests for edge cases
- 🔒 Ensured thread safety for singleton patterns
- 📦 Graceful degradation when dependencies missing
hanzo v0.3.10
- 📦 Updated to use hanzo-mcp v0.8.1
- 🧪 Inherited all test improvements
Testing Philosophy
Following Guido van Rossum's Python philosophy:
- 'Practicality beats purity'
- 'Errors should never pass silently'
- 'There should be one-- and preferably only one --obvious way to do it'
- 'Testing shows the presence, not the absence of bugs'
Installation
pip install hanzo==0.3.10
pip install hanzo-mcp==0.8.1PyPI Links
hanzo-mcp v0.8.1
🎉 hanzo-mcp v0.8.1 Release
✨ Highlights
- 100% test pass rate - All 31 tests passing
- Zero skipped tests - All tests run regardless of optional dependencies
- Property-based testing - Comprehensive edge case coverage
- Thread-safe singletons - Proper concurrent access handling
🔧 Test Improvements
- Removed all unconditional pytest.skip() calls
- Fixed parameter mismatches in CriticTool, ReviewTool, and CLI tools
- Added comprehensive mocking for hanzo_memory and hanzo_network
- Implemented graceful degradation for missing dependencies
- Added Unicode handling tests
- Added extreme value tests
- Added concurrent access tests
📦 Installation
pip install hanzo-mcp==0.8.1🧪 Test Coverage
- Tool registration with various configurations
- Pagination consistency across data sizes
- Output truncation with Unicode and edge cases
- Process manager singleton thread safety
- Memory tools graceful degradation
- Network package mocking
- Auto-backgrounding with extreme timeout values
- Batch tool pagination handling
- CLI agent tools validation
- Streaming command abstractions