hanzo 0.3.29__tar.gz → 0.3.30__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of hanzo might be problematic. Click here for more details.

Files changed (47) hide show
  1. {hanzo-0.3.29 → hanzo-0.3.30}/PKG-INFO +1 -1
  2. {hanzo-0.3.29 → hanzo-0.3.30}/pyproject.toml +1 -1
  3. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/__init__.py +1 -1
  4. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/interactive/enhanced_repl.py +2 -2
  5. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/tools/detector.py +5 -5
  6. {hanzo-0.3.29 → hanzo-0.3.30}/.gitignore +0 -0
  7. {hanzo-0.3.29 → hanzo-0.3.30}/README.md +0 -0
  8. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/__main__.py +0 -0
  9. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/base_agent.py +0 -0
  10. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/batch_orchestrator.py +0 -0
  11. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/cli.py +0 -0
  12. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/__init__.py +0 -0
  13. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/agent.py +0 -0
  14. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/auth.py +0 -0
  15. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/auth_broken.py +0 -0
  16. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/chat.py +0 -0
  17. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/config.py +0 -0
  18. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/mcp.py +0 -0
  19. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/miner.py +0 -0
  20. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/network.py +0 -0
  21. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/node.py +0 -0
  22. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/repl.py +0 -0
  23. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/router.py +0 -0
  24. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/commands/tools.py +0 -0
  25. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/dev.py +0 -0
  26. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/fallback_handler.py +0 -0
  27. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/interactive/__init__.py +0 -0
  28. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/interactive/dashboard.py +0 -0
  29. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/interactive/model_selector.py +0 -0
  30. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/interactive/repl.py +0 -0
  31. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/interactive/todo_manager.py +0 -0
  32. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/mcp_server.py +0 -0
  33. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/memory_manager.py +0 -0
  34. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/model_registry.py +0 -0
  35. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/orchestrator_config.py +0 -0
  36. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/rate_limiter.py +0 -0
  37. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/repl.py +0 -0
  38. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/router/__init__.py +0 -0
  39. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/streaming.py +0 -0
  40. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/tools/__init__.py +0 -0
  41. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/ui/__init__.py +0 -0
  42. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/ui/inline_startup.py +0 -0
  43. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/ui/startup.py +0 -0
  44. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/utils/__init__.py +0 -0
  45. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/utils/config.py +0 -0
  46. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/utils/net_check.py +0 -0
  47. {hanzo-0.3.29 → hanzo-0.3.30}/src/hanzo/utils/output.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hanzo
3
- Version: 0.3.29
3
+ Version: 0.3.30
4
4
  Summary: Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime
5
5
  Project-URL: Homepage, https://hanzo.ai
6
6
  Project-URL: Repository, https://github.com/hanzoai/python-sdk
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hanzo"
3
- version = "0.3.29"
3
+ version = "0.3.30"
4
4
  description = "Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime"
5
5
  authors = [
6
6
  {name = "Hanzo AI", email = "dev@hanzo.ai"},
@@ -1,6 +1,6 @@
1
1
  """Hanzo - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime."""
2
2
 
3
- __version__ = "0.3.29"
3
+ __version__ = "0.3.30"
4
4
  __all__ = ["main", "cli", "__version__"]
5
5
 
6
6
  from .cli import cli, main
@@ -351,9 +351,9 @@ class EnhancedHanzoREPL:
351
351
 
352
352
  # Node status
353
353
  try:
354
- response = httpx.get("http://localhost:8000/health", timeout=1)
354
+ response = httpx.get("http://localhost:3690/health", timeout=1)
355
355
  node_status = "✅ Running" if response.status_code == 200 else "⚠️ Unhealthy"
356
- node_details = "Port 8000"
356
+ node_details = "Port 3690"
357
357
  except:
358
358
  node_status = "❌ Offline"
359
359
  node_details = "Run 'hanzo node start'"
@@ -42,7 +42,7 @@ class ToolDetector:
42
42
  provider="hanzo-local",
43
43
  priority=0, # Highest priority - local and private
44
44
  check_command=None, # Check via API endpoint
45
- api_endpoint="http://localhost:8000/health",
45
+ api_endpoint="http://localhost:3690/health",
46
46
  env_var=None
47
47
  ),
48
48
  AITool(
@@ -175,7 +175,7 @@ class ToolDetector:
175
175
  try:
176
176
  # Check if the chat completions endpoint works
177
177
  test_response = httpx.post(
178
- "http://localhost:8000/v1/chat/completions",
178
+ "http://localhost:3690/v1/chat/completions",
179
179
  json={
180
180
  "messages": [{"role": "user", "content": "test"}],
181
181
  "model": "test",
@@ -193,7 +193,7 @@ class ToolDetector:
193
193
 
194
194
  # Try to get model info
195
195
  try:
196
- models_response = httpx.get("http://localhost:8000/v1/models", timeout=1.0)
196
+ models_response = httpx.get("http://localhost:3690/v1/models", timeout=1.0)
197
197
  if models_response.status_code == 200:
198
198
  models = models_response.json().get("data", [])
199
199
  if models:
@@ -342,10 +342,10 @@ class ToolDetector:
342
342
  try:
343
343
  # Special handling for Hanzo services
344
344
  if tool.name == "hanzod":
345
- # Use the local API directly with correct endpoint
345
+ # Use the local API directly with correct endpoint (port 3690)
346
346
  try:
347
347
  response = httpx.post(
348
- "http://localhost:8000/v1/chat/completions",
348
+ "http://localhost:3690/v1/chat/completions",
349
349
  json={
350
350
  "messages": [{"role": "user", "content": prompt}],
351
351
  "model": "default", # Use default model
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes