hanzo 0.3.26__tar.gz → 0.3.34__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.
Files changed (69) hide show
  1. hanzo-0.3.34/.gitignore +63 -0
  2. {hanzo-0.3.26 → hanzo-0.3.34}/PKG-INFO +37 -1
  3. {hanzo-0.3.26 → hanzo-0.3.34}/pyproject.toml +28 -1
  4. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/__init__.py +1 -1
  5. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/base_agent.py +101 -91
  6. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/batch_orchestrator.py +254 -215
  7. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/cli.py +5 -3
  8. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/__init__.py +3 -0
  9. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/agent.py +21 -9
  10. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/auth.py +59 -71
  11. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/chat.py +11 -6
  12. hanzo-0.3.34/src/hanzo/commands/infra.py +494 -0
  13. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/mcp.py +1 -3
  14. hanzo-0.3.34/src/hanzo/commands/network.py +859 -0
  15. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/node.py +1 -1
  16. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/router.py +41 -25
  17. hanzo-0.3.34/src/hanzo/cryptography/__init__.py +36 -0
  18. hanzo-0.3.34/src/hanzo/cryptography/ml_dsa.py +331 -0
  19. hanzo-0.3.34/src/hanzo/cryptography/precompiles.py +190 -0
  20. hanzo-0.3.34/src/hanzo/cryptography/slh_dsa.py +262 -0
  21. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/dev.py +187 -25
  22. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/fallback_handler.py +29 -1
  23. hanzo-0.3.34/src/hanzo/infra/__init__.py +408 -0
  24. hanzo-0.3.34/src/hanzo/infra/cron.py +631 -0
  25. hanzo-0.3.34/src/hanzo/infra/documentdb.py +565 -0
  26. hanzo-0.3.34/src/hanzo/infra/functions.py +539 -0
  27. hanzo-0.3.34/src/hanzo/infra/kv.py +525 -0
  28. hanzo-0.3.34/src/hanzo/infra/pubsub.py +534 -0
  29. hanzo-0.3.34/src/hanzo/infra/queues.py +637 -0
  30. hanzo-0.3.34/src/hanzo/infra/search.py +510 -0
  31. hanzo-0.3.34/src/hanzo/infra/storage.py +535 -0
  32. hanzo-0.3.34/src/hanzo/infra/tasks.py +518 -0
  33. hanzo-0.3.34/src/hanzo/infra/vector.py +350 -0
  34. hanzo-0.3.34/src/hanzo/interactive/dashboard.py +202 -0
  35. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/interactive/enhanced_repl.py +524 -143
  36. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/interactive/model_selector.py +48 -55
  37. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/interactive/repl.py +42 -13
  38. hanzo-0.3.34/src/hanzo/interactive/todo_manager.py +456 -0
  39. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/model_registry.py +209 -185
  40. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/orchestrator_config.py +85 -13
  41. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/router/__init__.py +1 -1
  42. hanzo-0.3.34/src/hanzo/tools/__init__.py +5 -0
  43. hanzo-0.3.34/src/hanzo/tools/detector.py +481 -0
  44. hanzo-0.3.34/src/hanzo/ui/__init__.py +8 -0
  45. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/ui/inline_startup.py +30 -32
  46. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/ui/startup.py +195 -102
  47. hanzo-0.3.26/.gitignore +0 -20
  48. hanzo-0.3.26/src/hanzo/commands/auth_broken.py +0 -377
  49. hanzo-0.3.26/src/hanzo/commands/network.py +0 -342
  50. hanzo-0.3.26/src/hanzo/interactive/dashboard.py +0 -115
  51. hanzo-0.3.26/src/hanzo/tools/__init__.py +0 -5
  52. hanzo-0.3.26/src/hanzo/tools/detector.py +0 -291
  53. hanzo-0.3.26/src/hanzo/ui/__init__.py +0 -13
  54. {hanzo-0.3.26 → hanzo-0.3.34}/README.md +0 -0
  55. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/__main__.py +0 -0
  56. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/config.py +0 -0
  57. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/miner.py +0 -0
  58. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/repl.py +0 -0
  59. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/commands/tools.py +0 -0
  60. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/interactive/__init__.py +0 -0
  61. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/mcp_server.py +0 -0
  62. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/memory_manager.py +0 -0
  63. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/rate_limiter.py +0 -0
  64. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/repl.py +0 -0
  65. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/streaming.py +0 -0
  66. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/utils/__init__.py +0 -0
  67. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/utils/config.py +0 -0
  68. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/utils/net_check.py +0 -0
  69. {hanzo-0.3.26 → hanzo-0.3.34}/src/hanzo/utils/output.py +0 -0
@@ -0,0 +1,63 @@
1
+ # IDE and editor
2
+ .vscode
3
+ .idea
4
+
5
+ # Python
6
+ *.egg-info
7
+ __pycache__
8
+ .mypy_cache
9
+ .pytest_cache
10
+ *.pyc
11
+ .venv
12
+
13
+ # Build
14
+ dist
15
+ _dev
16
+
17
+ # Environment
18
+ .env
19
+ .envrc
20
+
21
+ # Logs
22
+ .prism.log
23
+ codegen.log
24
+ *.log
25
+
26
+ # Package manager
27
+ Brewfile.lock.json
28
+
29
+ # Agent config files (symlinked from user home)
30
+ LLM.md
31
+ AGENTS.md
32
+ CLAUDE.md
33
+ GEMINI.md
34
+ GROK.md
35
+ QWEN.md
36
+
37
+ # Local databases and state
38
+ .hanzo/
39
+ .grok/
40
+
41
+ # Documentation build
42
+ docs/.next/
43
+ docs/out/
44
+ docs/node_modules/
45
+
46
+ # Training data and scripts (DO NOT COMMIT)
47
+ training_dataset.jsonl
48
+ scripts/full_extractor.py
49
+ scripts/mega_extractor.py
50
+ scripts/mega_full_extractor.py
51
+ scripts/streaming_extractor.py
52
+ scripts/supplement_extractor.py
53
+
54
+ # Test files at root (experimental)
55
+ test_post_quantum_*.py
56
+
57
+ # Analysis documents (internal)
58
+ HANZO_INNOVATION_OPPORTUNITIES.md
59
+ POST_QUANTUM_CRYPTOGRAPHY_IMPLEMENTATION.md
60
+
61
+ # Experimental cryptography (WIP)
62
+ pkg/hanzo/src/hanzo/cryptography/
63
+ site/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hanzo
3
- Version: 0.3.26
3
+ Version: 0.3.34
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
@@ -27,6 +27,7 @@ Requires-Dist: openai>=1.0.0
27
27
  Requires-Dist: prompt-toolkit>=3.0.0
28
28
  Requires-Dist: pydantic>=2.0.0
29
29
  Requires-Dist: pyyaml>=6.0
30
+ Requires-Dist: qrcode>=7.4.2
30
31
  Requires-Dist: rich>=13.0.0
31
32
  Requires-Dist: typer>=0.9.0
32
33
  Provides-Extra: agents
@@ -42,13 +43,48 @@ Requires-Dist: hanzo-memory>=1.0.0; extra == 'all'
42
43
  Requires-Dist: hanzo-network>=0.1.3; extra == 'all'
43
44
  Requires-Dist: hanzo-repl>=0.1.0; extra == 'all'
44
45
  Requires-Dist: hanzoai>=1.0.0; extra == 'all'
46
+ Provides-Extra: cron
47
+ Requires-Dist: croniter>=2.0.0; extra == 'cron'
48
+ Requires-Dist: redis>=5.0.0; extra == 'cron'
45
49
  Provides-Extra: dev
46
50
  Requires-Dist: hanzo-aci>=0.2.8; extra == 'dev'
51
+ Provides-Extra: documentdb
52
+ Requires-Dist: motor>=3.3.0; extra == 'documentdb'
53
+ Requires-Dist: pymongo>=4.6.0; extra == 'documentdb'
54
+ Provides-Extra: functions
55
+ Requires-Dist: httpx>=0.23.0; extra == 'functions'
56
+ Provides-Extra: infra
57
+ Requires-Dist: aiobotocore>=2.9.0; extra == 'infra'
58
+ Requires-Dist: botocore>=1.34.0; extra == 'infra'
59
+ Requires-Dist: croniter>=2.0.0; extra == 'infra'
60
+ Requires-Dist: httpx>=0.23.0; extra == 'infra'
61
+ Requires-Dist: meilisearch-python-sdk>=3.0.0; extra == 'infra'
62
+ Requires-Dist: motor>=3.3.0; extra == 'infra'
63
+ Requires-Dist: nats-py>=2.6.0; extra == 'infra'
64
+ Requires-Dist: pymongo>=4.6.0; extra == 'infra'
65
+ Requires-Dist: qdrant-client>=1.7.0; extra == 'infra'
66
+ Requires-Dist: redis>=5.0.0; extra == 'infra'
67
+ Requires-Dist: temporalio>=1.4.0; extra == 'infra'
68
+ Provides-Extra: kv
69
+ Requires-Dist: redis>=5.0.0; extra == 'kv'
47
70
  Provides-Extra: mcp
48
71
  Requires-Dist: hanzo-mcp>=0.7.0; extra == 'mcp'
72
+ Provides-Extra: pubsub
73
+ Requires-Dist: nats-py>=2.6.0; extra == 'pubsub'
74
+ Provides-Extra: queues
75
+ Requires-Dist: redis>=5.0.0; extra == 'queues'
49
76
  Provides-Extra: repl
50
77
  Requires-Dist: hanzo-repl>=0.1.0; extra == 'repl'
51
78
  Provides-Extra: router
79
+ Provides-Extra: search
80
+ Requires-Dist: meilisearch-python-sdk>=3.0.0; extra == 'search'
81
+ Provides-Extra: storage
82
+ Requires-Dist: aiobotocore>=2.9.0; extra == 'storage'
83
+ Requires-Dist: botocore>=1.34.0; extra == 'storage'
84
+ Provides-Extra: tasks
85
+ Requires-Dist: temporalio>=1.4.0; extra == 'tasks'
86
+ Provides-Extra: vector
87
+ Requires-Dist: qdrant-client>=1.7.0; extra == 'vector'
52
88
  Description-Content-Type: text/markdown
53
89
 
54
90
  # Hanzo CLI and Orchestration Tools
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hanzo"
3
- version = "0.3.26"
3
+ version = "0.3.34"
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"},
@@ -15,6 +15,7 @@ dependencies = [
15
15
  "pyyaml>=6.0",
16
16
  "openai>=1.0.0",
17
17
  "anthropic>=0.25.0",
18
+ "qrcode>=7.4.2",
18
19
  ]
19
20
  readme = "README.md"
20
21
  requires-python = ">= 3.10"
@@ -72,6 +73,32 @@ repl = [
72
73
  # "hanzo-router>=1.74.3", # TODO: For AI chat functionality - publish to PyPI
73
74
  ]
74
75
 
76
+ # Infrastructure extras - simple names
77
+ vector = ["qdrant-client>=1.7.0"]
78
+ kv = ["redis>=5.0.0"]
79
+ documentdb = ["motor>=3.3.0", "pymongo>=4.6.0"]
80
+ storage = ["aiobotocore>=2.9.0", "botocore>=1.34.0"]
81
+ search = ["meilisearch-python-sdk>=3.0.0"]
82
+ pubsub = ["nats-py>=2.6.0"]
83
+ tasks = ["temporalio>=1.4.0"]
84
+ queues = ["redis>=5.0.0"]
85
+ cron = ["redis>=5.0.0", "croniter>=2.0.0"]
86
+ functions = ["httpx>=0.23.0"]
87
+ # All infrastructure
88
+ infra = [
89
+ "qdrant-client>=1.7.0",
90
+ "redis>=5.0.0",
91
+ "motor>=3.3.0",
92
+ "pymongo>=4.6.0",
93
+ "aiobotocore>=2.9.0",
94
+ "botocore>=1.34.0",
95
+ "meilisearch-python-sdk>=3.0.0",
96
+ "nats-py>=2.6.0",
97
+ "temporalio>=1.4.0",
98
+ "croniter>=2.0.0",
99
+ "httpx>=0.23.0",
100
+ ]
101
+
75
102
  [project.urls]
76
103
  Homepage = "https://hanzo.ai"
77
104
  Repository = "https://github.com/hanzoai/python-sdk"
@@ -1,6 +1,6 @@
1
1
  """Hanzo - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime."""
2
2
 
3
- __version__ = "0.3.26"
3
+ __version__ = "0.3.34"
4
4
  __all__ = ["main", "cli", "__version__"]
5
5
 
6
6
  from .cli import cli, main