Commit Graph
33 Commits
Author SHA1 Message Date
zeekay ea3116aac9 Fix all test issues and achieve 100% test pass rate
- Remove all unconditional pytest.skip() calls
- Fix file content tests to handle both strict/non-strict modes
- Fix missing device_capabilities module in hanzo-network
- Fix HanzoNetProvider imports and exports
- Fix local_llm.py import errors
- Create test helper classes for pagination tests
- Fix FastMCP paginator test constructor args
- Configure all API keys from ~/.zsh/after.zsh
- All tests now pass or skip conditionally based on actual requirements
2025-08-12 16:19:34 -05:00
zeekay 8ec82ee2ad Update hanzo to v0.3.2 with hanzo-net v0.1.12
- Fixed QR code first line alignment issue
- Added GET handler for chat API endpoint for browser testing
- Includes all previous fixes for network IP and display spacing
2025-08-08 17:18:53 -05:00
zeekay 5cedf194aa Update hanzo to v0.3.1 with hanzo-net v0.1.11
- Updated dependency to hanzo-net>=0.1.11 for QR code alignment fixes
- Includes proper network IP detection for mobile access
- Fixed 'Chat API endpoint' label and display spacing
2025-08-08 17:12:50 -05:00
zeekay 01780c881e Update publish scripts 2025-08-08 17:04:47 -05:00
zeekay efc061c80a feat: Major README reorganization and version updates
- Reorganized main README to focus on complete AI SDK ecosystem
- Created dedicated hanzoai package README for AI client library
- Clear distinction between ecosystem (hanzo) and client library (hanzoai)
- Updated package descriptions and usage examples
- Bump versions: hanzoai 2.0.2→2.1.0, hanzo 0.2.14→0.3.0, hanzo-mcp 0.7.7→0.8.0
- Highlighted hanzo net command for local AI orchestration
- Added comprehensive installation variants and architecture details
2025-08-08 16:53:46 -05:00
zeekay ac7edf2f81 Update hanzo to v0.2.14 - require hanzo-net>=0.1.9 for graceful shutdown 2025-08-08 16:45:40 -05:00
zeekay b052e9b517 Clean old cruft 2025-08-08 16:41:02 -05:00
zeekay 5254870af2 Update hanzo to v0.2.13 - require hanzo-net>=0.1.8 for mobile network fixes 2025-08-08 16:39:15 -05:00
zeekay 3cc297bd74 feat: Update hanzo to v0.2.12 with hanzo-net v0.1.6
- Update dependency to hanzo-net>=0.1.6 for QR code and mobile support
- Fix async event loop handling in net command
- Support for mobile devices joining network via QR code
2025-08-08 16:23:55 -05:00
zeekay 8f5c4b4cd0 chore: release version 0.2.6
- Improved hanzo/net integration with robust dependency checking
- Better error handling and venv detection
- Comprehensive tests and CI/CD setup
2025-08-06 21:57:35 -05:00
zeekay b90e7752eb feat: improved hanzo/net integration with proper dependency checks
- Added net_check utility for verifying hanzo/net installation
- Improved error handling and dependency detection
- Added comprehensive tests for node command
- Set up CI/CD workflows for both projects
- Better handling of venv and Python paths
2025-08-06 21:18:39 -05:00
zeekay b8b4d723e8 chore: bump version to 0.2.5 for release
- Updated version in pyproject.toml and source files
- Added CHANGELOG.md with release notes
- Created publish.sh script for easier releases
- Ready for PyPI publication

Release highlights:
- Full hanzo/net integration for distributed AI compute
- hanzo node command launches hanzo/net instances
- WebUI and ChatGPT-compatible API support
- Package structure consolidation completed
2025-08-06 21:04:06 -05:00
zeekay 29ed1d81b3 feat: integrate hanzo/net into hanzo CLI node command
- Updated hanzo node command to properly run hanzo/net instance
- Automatically detects net from installed package or source at /Users/z/work/hanzo/net
- Sets correct Python path for src/net module structure
- Configures default port 52415 to match hanzo/net
- Provides WebUI at http://localhost:52415 and API endpoint
- Supports model selection via --models flag
- Network defaults to local for easier testing
2025-08-06 21:00:35 -05:00
zeekay 5319474af9 fix: hanzo-network import issues and enable compute node
- Fixed all relative imports in hanzo_network package
- Temporarily disabled problematic distributed imports to unblock LocalComputeNode
- hanzo node command now works properly
- Fixed double welcome message in interactive mode
- Package can be imported successfully from hanzo CLI
2025-08-06 20:20:16 -05:00
zeekay 45d9b114df feat: add compute node support to hanzo CLI
- Added 'hanzo node' command to start as compute node
- Fixed double welcome message in interactive mode
- Integrated hanzo-network for distributed compute management
- Added ability to run hanzo without args as compute node via HANZO_COMPUTE_NODE=1
- Node can connect to mainnet/testnet/local networks
- Supports model serving and job distribution
2025-08-06 17:15:48 -05:00
zeekay 37e99d81d3 fix: correct all hanzo_cli imports to relative imports after package merge
- Fixed all imports in commands/*.py to use relative imports
- Fixed cli.py and interactive modules imports
- Hanzo CLI now works properly after package consolidation
- Version 0.2.4 fully functional
2025-08-06 17:12:53 -05:00
zeekay d772f862dd feat: clean up and consolidate Python SDK packages
- Merged hanzo-cli into main hanzo package (v0.2.4)
- Removed hanzo-mcp-client (using official MCP client)
- Removed empty packages (hanzo-a2a, hanzo-cluster, hanzo-miner, hanzo-tools)
- Added hanzo and hanzo-repl to CI pipeline
- Updated all packages with parallel testing (pytest-xdist)
- Consolidated from 15 to 8 active packages
- Fixed imports and dependencies after consolidation
- All CI tests passing with 111 total tests across 5 packages
2025-08-06 17:05:48 -05:00
zeekay 1879e79ac8 feat: enhance hanzo-mcp with improved agent tools and configuration
- Fixed agent tool naming (dispatch_agent → agent) throughout codebase
- Made swarm an alias to network tool for backward compatibility
- Added 10 new comprehensive prompts for better discoverability:
  - Quick start guide
  - Pagination guide
  - Memory/vector tools help
  - Database tools help
  - LSP tools help
  - Configuration guide
  - Network agent guide
  - Performance tips
  - Security best practices
  - Troubleshooting guide
- Updated default tool configuration to enable agent tools by default
- Added comprehensive CI tests for all agent tools
- Fixed tool registration and naming consistency
- Enhanced swarm tool to properly alias network tool functionality
- Added E2E demos and integration tests for distributed AI processing
- Integrated hanzo-network for local private AI inference
- Set up comprehensive CI/CD pipeline for all packages
2025-08-06 16:02:09 -05:00
zeekay 9a1ae92ee6 fix: remove hanzo-cli-wrapper from workspace to fix CI 2025-08-05 23:38:36 -05:00
zeekay ff5b0b7e08 fix: add build configuration for hanzo-cli-wrapper 2025-08-05 23:35:57 -05:00
zeekay 1b68453abc fix: move keywords and classifiers to correct section in hanzo-cli-wrapper 2025-08-05 23:33:43 -05:00
zeekay 8bc1501491 fix: remove hanzo-router from workspace and fix hanzo-cli-wrapper pyproject.toml 2025-08-05 23:29:35 -05:00
zeekay d5af61017c fix: temporarily disable hanzo-router to fix CI dependencies 2025-08-05 23:26:08 -05:00
zeekay acaae70990 fix: update hanzo-mcp version to 0.7.7 - fixes version display issue 2025-08-05 23:21:37 -05:00
zeekay 4788a65593 Update hanzo-mcp 2025-08-03 23:03:04 -05:00
zeekay 34e28911a6 feat: complete hanzo SDK packages with fixed tests and comprehensive documentation
- Fixed all 30 skipped tests in hanzo-mcp (353 tests, 0 skipped)
- Built hanzo-agents v0.1.0 with comprehensive USAGE.md
- Built hanzo-network v0.1.0 with comprehensive USAGE.md
- Built hanzo-memory v1.0.0 with comprehensive USAGE.md
- Added integration tests verifying all packages work together
- All packages ready for release
2025-07-29 20:26:20 -05:00
zeekay 39598a5f70 fix: resolve test collection errors and improve test suite
- Fixed import errors reducing collection errors from 45 to 4
- Increased collected tests from 49 to 370
- Fixed ClientSession import (not ClientSessionGroup)
- Fixed SymbolsTool → ASTTool import
- Fixed UnifiedSearchTool → SearchTool import
- Fixed PaginatedResponse → AutoPaginatedResponse import
- Fixed async syntax error in test_memory_edge_cases
- Moved manual test scripts to tests/manual/
- 183 tests now passing (up from 179)
2025-07-27 23:32:05 -05:00
zeekay 118b43f793 fix: add token limits to prevent MCP tool responses exceeding 25k tokens
- Add truncate_response with 25k token limit to directory_tree tool
- Add token limiting to read, grep, find filesystem tools
- Add token limiting to shell command output tools
- Fix test import errors and syntax issues
- Install hanzo-memory dependency for memory tests
- Reduce pytest collection errors from 45 to 7

All tools now properly gate their responses to prevent exceeding the MCP token limit.
2025-07-27 23:07:20 -05:00
zeekay 4e141ce7a1 bump version to 0.7.5 2025-07-27 19:26:38 -05:00
zeekay 6ff96c185a feat: add comprehensive tool explorer prompts
Added new prompts to help users discover and use Hanzo MCP tools:
- Explore all tools: Complete guide to all available tools
- Category-specific help: Filesystem, Agent, Shell tools guides
- Batch tool examples: Advanced parallel operation patterns
- Tool discovery and usage examples for each category

These prompts appear in agent when typing /hanzo and provide
interactive documentation for using tools as subagents.
2025-07-27 19:20:55 -05:00
zeekay cc9d4f17ea bump version to 0.7.4 2025-07-27 19:09:55 -05:00
zeekay 04da228bc7 fix: add missing respect_gitignore parameter to _find_with_ffind method
Fixed NameError where respect_gitignore was undefined when _find_with_ffind
falls back to _find_with_python. Added the parameter to method signature
and updated the method call to pass it correctly.
2025-07-27 19:09:37 -05:00
zeekay a76b6365ab Update python monorepo 2025-07-27 03:02:44 -05:00