zeekay
8c05bf99d6
fix(ci): pin black <26.1 to avoid internal error, lower requires-python to 3.12
...
Black 26.1.0 crashes on multiple exception types in parentheses.
The requires-python bump to 3.14 broke CI which runs Python 3.12.
2026-03-01 16:01:16 -08:00
zeekay
6c376a4d13
[chore] bump all packages to Python 3.14+
...
Update requires-python to >=3.14 in all 46 pkg/ pyproject.toml files
and the root pyproject.toml (47 files total).
2026-02-28 12:43:10 -08:00
zeekay
d094a8b481
rebrand: rename litellm module to llm — complete purge
...
All imports, test files, docs, and config references updated.
import litellm → import llm across entire codebase.
2026-02-25 15:13:14 -08:00
zeekay
8d1df37bf2
rebrand: replace litellm package dep with hanzo-llm
...
All pyproject.toml deps now reference hanzo-llm (Hanzo's fork)
instead of upstream litellm. Python import name stays as litellm.
2026-02-25 14:39:34 -08:00
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
zooqueen and Hanzo Dev
920f767417
style: auto-fix ruff lint and format for Python 3.12
...
Run ruff check --fix and ruff format across the repo to fix ~495
auto-fixable lint errors (mostly I001 import sorting) and reformat
225 files to match the py312 target.
Co-authored-by: Hanzo Dev <[email protected] >
2026-02-20 21:29:31 -08:00
zeekay
73fbba8141
feat: add hanzo-kms package, MCP proxy tools, and agent reflexion
...
- Add hanzo-kms v1.0.0: Secret management SDK compatible with Infisical API
- Sync and async clients with multiple auth methods (Universal, AWS IAM, Azure, GCP, K8s)
- Full CRUD operations for secrets with environment injection
- Add MCP proxy system for lazy-loading external MCP servers
- mcp_proxy.py: Dynamic MCP server connection and tool discovery
- proxy_tool.py: Tool for managing external MCP server proxies
- platform_auth.py: Hanzo Platform authentication utilities
- Built-in servers: platform, github, cloudflare, postgres, sqlite, docker, k8s
- Add agent reflexion module for self-correction and rule management
- ReflexionEngine for reflection and rule-based behavior updates
- Integration with hanzo-memory for persistent rules
- Add self_learning_agent example demonstrating reflexion capabilities
- Update ps_tool with improved process management and log handling
- Update browser tools with enhanced CDP bridge and automation
- Bump dependency versions across all tool packages
All tests pass (3156 passed)
2026-02-04 10:55:08 -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
ffb281d9b8
refactor: remove AI slop - mock data, stubs, dead code
...
- auth.py: remove dead code after return in SSO section
- agent.py: replace mock list with real registry call
- dashboard.py: add [DEMO] indicator, improve comments
- batch_orchestrator.py: log warnings when no API client
- textual_repl.py: clarify context tracking comment
2026-01-18 20:25:27 -08:00
zeekay
b21ca3a5ce
fix: run ruff check --fix and format across entire codebase
2025-12-26 04:31:06 -08:00
zeekay
9f33964113
fix: Remove pyaudio from required dependencies to fix CI
...
- Made pyaudio truly optional in hanzo-repl voice extras
- Pyaudio requires portaudio system library which is not available in CI
- Users can manually install pyaudio if they need voice features
2025-08-14 02:04:40 -05:00
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
a76b6365ab
Update python monorepo
2025-07-27 03:02:44 -05:00