Files
zeekay 73fbba8141 feat: add hanzo-kms package, MCP proxy tools, and agent reflexion
- Add hanzo-kms v1.0.0: Secret management SDK compatible with Infisical API
  - Sync and async clients with multiple auth methods (Universal, AWS IAM, Azure, GCP, K8s)
  - Full CRUD operations for secrets with environment injection

- Add MCP proxy system for lazy-loading external MCP servers
  - mcp_proxy.py: Dynamic MCP server connection and tool discovery
  - proxy_tool.py: Tool for managing external MCP server proxies
  - platform_auth.py: Hanzo Platform authentication utilities
  - Built-in servers: platform, github, cloudflare, postgres, sqlite, docker, k8s

- Add agent reflexion module for self-correction and rule management
  - ReflexionEngine for reflection and rule-based behavior updates
  - Integration with hanzo-memory for persistent rules

- Add self_learning_agent example demonstrating reflexion capabilities

- Update ps_tool with improved process management and log handling
- Update browser tools with enhanced CDP bridge and automation
- Bump dependency versions across all tool packages

All tests pass (3156 passed)
2026-02-04 10:55:08 -08:00

100 lines
2.5 KiB
TOML

[project]
name = "hanzo-repl"
version = "0.1.0"
description = "Interactive REPL for Hanzo AI - Like Claude Code in your terminal"
authors = [
{name = "Hanzo AI", email = "[email protected]"},
]
readme = "README.md"
license = {text = "BSD-3-Clause"}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
keywords = ["repl", "mcp", "ai", "llm", "hanzo", "claude", "interactive"]
requires-python = ">=3.12"
dependencies = [
"hanzo-mcp>=0.1.0",
"rich>=13.0.0",
"prompt-toolkit>=3.0.0",
"click>=8.0.0",
"python-dotenv>=1.0.0",
"litellm>=1.0.0",
"colorama>=0.4.6",
"pygments>=2.17.0",
"ipython>=8.0.0",
"textual>=0.41.0",
]
[project.urls]
Homepage = "https://hanzo.ai"
Documentation = "https://docs.hanzo.ai/repl"
Repository = "https://github.com/hanzoai/python-sdk"
Issues = "https://github.com/hanzoai/python-sdk/issues"
[project.optional-dependencies]
voice = [
"speechrecognition>=3.10.0",
"pyttsx3>=2.90",
"sounddevice>=0.4.6",
"numpy>=1.24.0",
# pyaudio is optional and requires system dependencies
# Install with: pip install pyaudio (requires portaudio system library)
]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
[project.scripts]
hanzo-repl = "hanzo_repl.cli:main"
hanzo-repl-ipython = "hanzo_repl.ipython_repl:main"
hanzo-repl-tui = "hanzo_repl.textual_repl:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
"src/hanzo_repl",
"README.md",
]
[tool.hatch.build.targets.wheel]
packages = ["src/hanzo_repl"]
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "N", "S", "A", "C4", "T20", "RET", "SIM", "ARG"]
ignore = ["E501", "S101"]
[tool.mypy]
python_version = "3.8"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
asyncio_mode = "auto"