hanzo 0.3.26__tar.gz → 0.3.35__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.35/.gitignore +63 -0
  2. {hanzo-0.3.26 → hanzo-0.3.35}/PKG-INFO +39 -4
  3. {hanzo-0.3.26 → hanzo-0.3.35}/pyproject.toml +30 -4
  4. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/__init__.py +1 -1
  5. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/base_agent.py +101 -91
  6. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/batch_orchestrator.py +254 -215
  7. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/cli.py +5 -3
  8. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/__init__.py +3 -0
  9. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/agent.py +21 -9
  10. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/auth.py +59 -71
  11. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/chat.py +11 -6
  12. hanzo-0.3.35/src/hanzo/commands/cloud.py +494 -0
  13. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/mcp.py +1 -3
  14. hanzo-0.3.35/src/hanzo/commands/network.py +859 -0
  15. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/node.py +1 -1
  16. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/router.py +41 -25
  17. hanzo-0.3.35/src/hanzo/cryptography/__init__.py +36 -0
  18. hanzo-0.3.35/src/hanzo/cryptography/ml_dsa.py +331 -0
  19. hanzo-0.3.35/src/hanzo/cryptography/precompiles.py +190 -0
  20. hanzo-0.3.35/src/hanzo/cryptography/slh_dsa.py +262 -0
  21. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/dev.py +187 -25
  22. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/fallback_handler.py +29 -1
  23. hanzo-0.3.35/src/hanzo/infra/__init__.py +408 -0
  24. hanzo-0.3.35/src/hanzo/infra/cron.py +631 -0
  25. hanzo-0.3.35/src/hanzo/infra/documentdb.py +565 -0
  26. hanzo-0.3.35/src/hanzo/infra/functions.py +539 -0
  27. hanzo-0.3.35/src/hanzo/infra/kv.py +525 -0
  28. hanzo-0.3.35/src/hanzo/infra/pubsub.py +534 -0
  29. hanzo-0.3.35/src/hanzo/infra/queues.py +637 -0
  30. hanzo-0.3.35/src/hanzo/infra/search.py +510 -0
  31. hanzo-0.3.35/src/hanzo/infra/storage.py +535 -0
  32. hanzo-0.3.35/src/hanzo/infra/tasks.py +518 -0
  33. hanzo-0.3.35/src/hanzo/infra/vector.py +350 -0
  34. hanzo-0.3.35/src/hanzo/interactive/dashboard.py +202 -0
  35. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/interactive/enhanced_repl.py +524 -143
  36. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/interactive/model_selector.py +48 -55
  37. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/interactive/repl.py +42 -13
  38. hanzo-0.3.35/src/hanzo/interactive/todo_manager.py +456 -0
  39. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/model_registry.py +209 -185
  40. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/orchestrator_config.py +85 -13
  41. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/router/__init__.py +1 -1
  42. hanzo-0.3.35/src/hanzo/tools/__init__.py +5 -0
  43. hanzo-0.3.35/src/hanzo/tools/detector.py +481 -0
  44. hanzo-0.3.35/src/hanzo/ui/__init__.py +8 -0
  45. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/ui/inline_startup.py +30 -32
  46. {hanzo-0.3.26 → hanzo-0.3.35}/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.35}/README.md +0 -0
  55. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/__main__.py +0 -0
  56. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/config.py +0 -0
  57. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/miner.py +0 -0
  58. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/repl.py +0 -0
  59. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/commands/tools.py +0 -0
  60. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/interactive/__init__.py +0 -0
  61. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/mcp_server.py +0 -0
  62. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/memory_manager.py +0 -0
  63. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/rate_limiter.py +0 -0
  64. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/repl.py +0 -0
  65. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/streaming.py +0 -0
  66. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/utils/__init__.py +0 -0
  67. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/utils/config.py +0 -0
  68. {hanzo-0.3.26 → hanzo-0.3.35}/src/hanzo/utils/net_check.py +0 -0
  69. {hanzo-0.3.26 → hanzo-0.3.35}/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.35
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
@@ -14,12 +14,11 @@ Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: Apache Software License
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.10
18
- Classifier: Programming Language :: Python :: 3.11
19
17
  Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
20
19
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
20
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
- Requires-Python: >=3.10
21
+ Requires-Python: >=3.12
23
22
  Requires-Dist: anthropic>=0.25.0
24
23
  Requires-Dist: click>=8.1.0
25
24
  Requires-Dist: httpx>=0.23.0
@@ -27,6 +26,7 @@ Requires-Dist: openai>=1.0.0
27
26
  Requires-Dist: prompt-toolkit>=3.0.0
28
27
  Requires-Dist: pydantic>=2.0.0
29
28
  Requires-Dist: pyyaml>=6.0
29
+ Requires-Dist: qrcode>=7.4.2
30
30
  Requires-Dist: rich>=13.0.0
31
31
  Requires-Dist: typer>=0.9.0
32
32
  Provides-Extra: agents
@@ -42,13 +42,48 @@ Requires-Dist: hanzo-memory>=1.0.0; extra == 'all'
42
42
  Requires-Dist: hanzo-network>=0.1.3; extra == 'all'
43
43
  Requires-Dist: hanzo-repl>=0.1.0; extra == 'all'
44
44
  Requires-Dist: hanzoai>=1.0.0; extra == 'all'
45
+ Provides-Extra: cron
46
+ Requires-Dist: croniter>=2.0.0; extra == 'cron'
47
+ Requires-Dist: redis>=5.0.0; extra == 'cron'
45
48
  Provides-Extra: dev
46
49
  Requires-Dist: hanzo-aci>=0.2.8; extra == 'dev'
50
+ Provides-Extra: documentdb
51
+ Requires-Dist: motor>=3.3.0; extra == 'documentdb'
52
+ Requires-Dist: pymongo>=4.6.0; extra == 'documentdb'
53
+ Provides-Extra: functions
54
+ Requires-Dist: httpx>=0.23.0; extra == 'functions'
55
+ Provides-Extra: infra
56
+ Requires-Dist: aiobotocore>=2.9.0; extra == 'infra'
57
+ Requires-Dist: botocore>=1.34.0; extra == 'infra'
58
+ Requires-Dist: croniter>=2.0.0; extra == 'infra'
59
+ Requires-Dist: httpx>=0.23.0; extra == 'infra'
60
+ Requires-Dist: meilisearch-python-sdk>=3.0.0; extra == 'infra'
61
+ Requires-Dist: motor>=3.3.0; extra == 'infra'
62
+ Requires-Dist: nats-py>=2.6.0; extra == 'infra'
63
+ Requires-Dist: pymongo>=4.6.0; extra == 'infra'
64
+ Requires-Dist: qdrant-client>=1.7.0; extra == 'infra'
65
+ Requires-Dist: redis>=5.0.0; extra == 'infra'
66
+ Requires-Dist: temporalio>=1.4.0; extra == 'infra'
67
+ Provides-Extra: kv
68
+ Requires-Dist: redis>=5.0.0; extra == 'kv'
47
69
  Provides-Extra: mcp
48
70
  Requires-Dist: hanzo-mcp>=0.7.0; extra == 'mcp'
71
+ Provides-Extra: pubsub
72
+ Requires-Dist: nats-py>=2.6.0; extra == 'pubsub'
73
+ Provides-Extra: queues
74
+ Requires-Dist: redis>=5.0.0; extra == 'queues'
49
75
  Provides-Extra: repl
50
76
  Requires-Dist: hanzo-repl>=0.1.0; extra == 'repl'
51
77
  Provides-Extra: router
78
+ Provides-Extra: search
79
+ Requires-Dist: meilisearch-python-sdk>=3.0.0; extra == 'search'
80
+ Provides-Extra: storage
81
+ Requires-Dist: aiobotocore>=2.9.0; extra == 'storage'
82
+ Requires-Dist: botocore>=1.34.0; extra == 'storage'
83
+ Provides-Extra: tasks
84
+ Requires-Dist: temporalio>=1.4.0; extra == 'tasks'
85
+ Provides-Extra: vector
86
+ Requires-Dist: qdrant-client>=1.7.0; extra == 'vector'
52
87
  Description-Content-Type: text/markdown
53
88
 
54
89
  # 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.35"
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,9 +15,10 @@ 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
- requires-python = ">= 3.10"
21
+ requires-python = ">= 3.12"
21
22
  keywords = ["ai", "cli", "hanzo", "agents", "llm", "mcp", "local-ai", "private-ai"]
22
23
  classifiers = [
23
24
  "Development Status :: 4 - Beta",
@@ -26,9 +27,8 @@ classifiers = [
26
27
  "License :: OSI Approved :: Apache Software License",
27
28
  "Operating System :: OS Independent",
28
29
  "Programming Language :: Python :: 3",
29
- "Programming Language :: Python :: 3.10",
30
- "Programming Language :: Python :: 3.11",
31
30
  "Programming Language :: Python :: 3.12",
31
+ "Programming Language :: Python :: 3.13",
32
32
  "Topic :: Software Development :: Libraries :: Python Modules",
33
33
  "Topic :: Scientific/Engineering :: Artificial Intelligence",
34
34
  ]
@@ -72,6 +72,32 @@ repl = [
72
72
  # "hanzo-router>=1.74.3", # TODO: For AI chat functionality - publish to PyPI
73
73
  ]
74
74
 
75
+ # Infrastructure extras - simple names
76
+ vector = ["qdrant-client>=1.7.0"]
77
+ kv = ["redis>=5.0.0"]
78
+ documentdb = ["motor>=3.3.0", "pymongo>=4.6.0"]
79
+ storage = ["aiobotocore>=2.9.0", "botocore>=1.34.0"]
80
+ search = ["meilisearch-python-sdk>=3.0.0"]
81
+ pubsub = ["nats-py>=2.6.0"]
82
+ tasks = ["temporalio>=1.4.0"]
83
+ queues = ["redis>=5.0.0"]
84
+ cron = ["redis>=5.0.0", "croniter>=2.0.0"]
85
+ functions = ["httpx>=0.23.0"]
86
+ # All infrastructure
87
+ infra = [
88
+ "qdrant-client>=1.7.0",
89
+ "redis>=5.0.0",
90
+ "motor>=3.3.0",
91
+ "pymongo>=4.6.0",
92
+ "aiobotocore>=2.9.0",
93
+ "botocore>=1.34.0",
94
+ "meilisearch-python-sdk>=3.0.0",
95
+ "nats-py>=2.6.0",
96
+ "temporalio>=1.4.0",
97
+ "croniter>=2.0.0",
98
+ "httpx>=0.23.0",
99
+ ]
100
+
75
101
  [project.urls]
76
102
  Homepage = "https://hanzo.ai"
77
103
  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.35"
4
4
  __all__ = ["main", "cli", "__version__"]
5
5
 
6
6
  from .cli import cli, main