Files
python-sdk/pkg/hanzo/pyproject.toml
T
zeekay 6b24577e93 fix: improve AI tool detection and fallback mechanism (v0.3.31)
- Fix Hanzo Node detection to test actual chat endpoint instead of health check
- Check both ports 3690 (default) and 8000 for Hanzo Node
- Add session-based failed tool tracking to avoid repeated attempts
- Cache working tool selection for better performance
- Fix hanzo-mcp integration with proper dependencies
- Add comprehensive test suite for tool detection (14 tests)
- Test and verify OpenAI Codex integration
2025-09-07 15:33:06 -05:00

92 lines
2.3 KiB
TOML

[project]
name = "hanzo"
version = "0.3.31"
description = "Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime"
authors = [
{name = "Hanzo AI", email = "[email protected]"},
]
dependencies = [
"click>=8.1.0",
"rich>=13.0.0",
"typer>=0.9.0",
"prompt-toolkit>=3.0.0",
"httpx>=0.23.0",
"pydantic>=2.0.0",
"pyyaml>=6.0",
"openai>=1.0.0",
"anthropic>=0.25.0",
]
readme = "README.md"
requires-python = ">= 3.10"
keywords = ["ai", "cli", "hanzo", "agents", "llm", "mcp", "local-ai", "private-ai"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[project.scripts]
hanzo = "hanzo.cli:main"
hanzo-mcp = "hanzo.mcp_server:main"
hanzo-ai = "hanzo.repl:ai_chat"
hanzo-chat = "hanzo.repl:ai_chat"
hanzo-repl = "hanzo.repl:repl_main"
[project.optional-dependencies]
all = [
"hanzoai>=1.0.0",
"hanzo-mcp>=0.7.0",
"hanzo-agents>=0.1.0",
"hanzo-network>=0.1.3",
"hanzo-repl>=0.1.0",
"hanzo-memory>=1.0.0",
# "hanzo-router>=1.74.3", # TODO: Publish hanzo-router to PyPI
"hanzo-aci>=0.2.8",
]
ai = [
"hanzoai>=1.0.0", # This provides the same as standalone hanzoai package
]
router = [
# "hanzo-router>=1.74.3", # TODO: Publish hanzo-router to PyPI
]
mcp = [
"hanzo-mcp>=0.7.0",
]
agents = [
"hanzo-agents>=0.1.0",
"hanzo-network>=0.1.3",
]
dev = [
"hanzo-aci>=0.2.8",
]
repl = [
"hanzo-repl>=0.1.0",
# "hanzo-router>=1.74.3", # TODO: For AI chat functionality - publish to PyPI
]
[project.urls]
Homepage = "https://hanzo.ai"
Repository = "https://github.com/hanzoai/python-sdk"
Documentation = "https://docs.hanzo.ai/cli"
"Bug Tracker" = "https://github.com/hanzoai/python-sdk/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
"src/hanzo",
]
[tool.hatch.build.targets.wheel]
packages = ["src/hanzo"]