zooqueen and Hanzo Dev
b144973bfc
fix(lint): resolve all ruff + black errors across all packages
...
Fix 35 ruff errors (E722, F841, B904, B905, B007, E741, S202, S310,
S306, S110, TID251, UP042, F401) and run black on 526 files.
Co-authored-by: Hanzo Dev <[email protected] >
2026-02-21 23:32:32 -08:00
zeekay
b821c8bfa6
refactor: eliminate all TODOs, placeholders, stubs, and fake data
...
Comprehensive cleanup across 12 files:
hanzo CLI:
- auth.py: remove dead code, clean up auth flow comments
- mcp.py: clarify CLI context creation
- dev.py: clean up orchestrator comments, implement basic validation
- dashboard.py: remove demo data comments, add sample data label
- enhanced_repl.py: remove sleep simulation in login
- router/__init__.py: clarify fallback behavior
hanzo-repl:
- llm_client.py: implement actual Ollama health check via HTTP
- textual_repl.py: simplify parameter handling, remove TODO
hanzo-tools-agent:
- swarm_tool.py: rename stubs to _RequiresHanzoAgents, clean up
- cli_agent_base.py: clarify temp file substitution
- agent.py: implement _execute_agent using unified_agent_tool
hanzo-tools-database:
- memory_manager.py: implement generate_embedding with fastembed,
implement vector_search with sqlite-vec
All code now follows: one way to do it, composable, orthogonal, complete
2026-01-19 00:11:11 -08:00
zeekay
d5f8e3f2b5
feat(hanzo-tools): add modular tool packages with 53 tools across 13 packages
...
Introduces hanzo-tools-* namespace packages for independent tool installation:
Core packages:
- hanzo-tools-core: BaseTool, ToolRegistry, PermissionManager
- hanzo-tools-filesystem: read, write, edit, tree, find, search, ast (7 tools)
- hanzo-tools-shell: dag, ps, zsh, shell, npx, uvx, open (7 tools)
AI/Agent packages:
- hanzo-tools-agent: critic, iching, review, network, CLI agents (12 tools)
- hanzo-tools-memory: recall/create/update/delete memories, facts, KB (9 tools)
- hanzo-tools-reasoning: think, critic (2 tools)
Editor/Dev packages:
- hanzo-tools-lsp: Language Server Protocol tool (1 tool)
- hanzo-tools-refactor: rename, extract, inline, move, change_signature (1 tool)
- hanzo-tools-database: SQL + graph database tools (8 tools)
- hanzo-tools-editor: neovim integration (3 tools)
- hanzo-tools-jupyter: notebook read/edit (1 tool)
- hanzo-tools-browser: Playwright browser automation (1 tool)
- hanzo-tools-todo: unified todo management (1 tool)
Key improvements:
- All subprocess.run calls have timeout protection
- All tool .call() methods are async
- Namespace package pattern for mix-and-match installation
- Entry point discovery via hanzo.tools
- No blocking imports (all < 2s)
Also updates hanzo-mcp:
- Browser tool integration
- Tool install/registry for dynamic tool management
- Auto-background timeout reduced to 60s
2025-12-25 22:38:26 -08:00