mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
Enso reads its routing bounds from X-Max-Cost and X-Max-Latency-Ms on /v1/chat/completions, and HanzoCloud could send no header but its own, so no tool could bound a routed request. post() and the shared request path now take extra headers that ride beside the bearer. BaseTool runs `help` for a call that names no action. A tool with one obvious act (llm's query, kai_decide's decide) now declares DEFAULT_ACTION, which the call, the advertised schema's default and its required list all read, so it answers the same no-action call the TypeScript and Rust runtimes do. Every other tool keeps `help`. hanzo-tools 0.3.8. Co-authored-by: Hanzo Dev <[email protected]>
101 lines
2.8 KiB
TOML
101 lines
2.8 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "hanzo-tools"
|
|
version = "0.3.8"
|
|
description = "Hanzo AI tools - core infrastructure and tool bundles"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "Hanzo Industries Inc", email = "[email protected]" }]
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
keywords = ["hanzo", "tools", "mcp", "ai", "agent"]
|
|
|
|
# Core dependencies (merged from hanzo-tools-core)
|
|
dependencies = [
|
|
"mcp>=1.25.0,<2",
|
|
"fastmcp>=2.14.1",
|
|
"pydantic>=2.12.5",
|
|
"typing-extensions>=4.13.0",
|
|
"aiofiles>=24.1.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# Individual tool packages
|
|
filesystem = ["hanzo-tools-fs>=0.1.0"]
|
|
shell = ["hanzo-tools-shell>=0.5.4"]
|
|
browser = ["hanzo-tools-browser>=0.1.0"]
|
|
llm = ["hanzo-tools-llm>=0.1.0"]
|
|
database = ["hanzo-tools-database>=0.1.0"]
|
|
memory = ["hanzo-tools-memory>=0.1.0"]
|
|
agent = ["hanzo-tools-agent>=0.1.0"]
|
|
editor = ["hanzo-tools-editor>=0.1.0"]
|
|
jupyter = ["hanzo-tools-jupyter>=0.1.0"]
|
|
lsp = ["hanzo-tools-lsp>=0.1.0"]
|
|
refactor = ["hanzo-tools-refactor>=0.1.0"]
|
|
vector = ["hanzo-tools-vector>=0.1.0"]
|
|
todo = ["hanzo-tools-todo>=0.1.0"]
|
|
config = ["hanzo-tools-config>=0.1.0"]
|
|
mcp_tools = ["hanzo-tools-mcp>=0.1.0"]
|
|
reasoning = ["hanzo-tools-reasoning>=0.1.0"]
|
|
computer = ["hanzo-tools-computer>=0.1.0"]
|
|
code = ["hanzo-tools-code>=0.1.0"]
|
|
vcs = ["hanzo-tools-vcs>=0.1.0"]
|
|
net = ["hanzo-tools-net>=0.1.0"]
|
|
|
|
# Bundles
|
|
dev = [
|
|
"hanzo-tools-fs>=0.1.0",
|
|
"hanzo-tools-shell>=0.5.4",
|
|
"hanzo-tools-todo>=0.1.0",
|
|
"hanzo-tools-reasoning>=0.1.0",
|
|
"hanzo-tools-config>=0.1.0",
|
|
"hanzo-tools-editor>=0.1.0",
|
|
"hanzo-tools-lsp>=0.1.0",
|
|
"hanzo-tools-refactor>=0.1.0",
|
|
]
|
|
ai = [
|
|
"hanzo-tools-llm>=0.1.0",
|
|
"hanzo-tools-agent>=0.1.0",
|
|
"hanzo-tools-memory>=0.1.0",
|
|
]
|
|
all = [
|
|
"hanzo-tools-fs>=0.1.0",
|
|
"hanzo-tools-shell>=0.5.4",
|
|
"hanzo-tools-browser>=0.1.0",
|
|
"hanzo-tools-llm>=0.1.0",
|
|
"hanzo-tools-database>=0.1.0",
|
|
"hanzo-tools-memory>=0.1.0",
|
|
"hanzo-tools-agent>=0.1.0",
|
|
"hanzo-tools-editor>=0.1.0",
|
|
"hanzo-tools-jupyter>=0.1.0",
|
|
"hanzo-tools-lsp>=0.1.0",
|
|
"hanzo-tools-refactor>=0.1.0",
|
|
"hanzo-tools-vector>=0.1.0",
|
|
"hanzo-tools-todo>=0.1.0",
|
|
"hanzo-tools-reasoning>=0.1.0",
|
|
"hanzo-tools-config>=0.1.0",
|
|
"hanzo-tools-mcp>=0.1.0",
|
|
"hanzo-tools-computer>=0.1.0",
|
|
"hanzo-tools-code>=0.1.0",
|
|
"hanzo-tools-vcs>=0.1.0",
|
|
"hanzo-tools-net>=0.1.0",
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://github.com/hanzoai/python-sdk"
|
|
"Bug Tracker" = "https://github.com/hanzoai/python-sdk/issues"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["hanzo_tools*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
hanzo_tools = ["py.typed"]
|