mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
Major improvements to mode and tool management: 1. Essential System Tools - Critical tools (llm, consensus, config, mode, tool, version, stats) are now ALWAYS enabled regardless of active mode. Previously, mode system disabled all tools then only enabled mode-specific ones, causing critical tools to be unavailable. 2. Unified 'tool' Command - Consolidates tool_install, tool_enable, tool_disable, tool_list into single 'tool' command with actions: - list: List all tools by category - enable/disable: Toggle tool state - install/uninstall: Package management - upgrade/reload: Update tools - self_update: Update hanzo-mcp 3. Fixed Permission Manager - Made permission_manager optional in: - FileSystemTool base class - ComputerTool - ConfigTool - ReadTool, WriteTool, EditTool Now creates default PermissionManager if not provided. 4. Fixed Mode System - Builtin modes (hanzo, minimal, fullstack, devops, security) are now always registered alongside hanzo-persona profiles. Previously they were skipped when hanzo-persona was available. 5. Updated ESSENTIAL_TOOLS constant with modern tool names and added llm, consensus, config, mode to ensure they're in all default modes. Version bump: 0.10.19 -> 0.10.20