hkuds--openharness
5dd8b952ec
A lightweight open-source Python implementation of the Agent Harness architecture. 44x lighter than Claude Code (11K vs 512K lines), 98% core tool coverage. - 43 tools with Pydantic validation and parallel execution - Skills system compatible with anthropics/skills (17+ tested) - Plugin system compatible with claude-code/plugins (12+ tested) - API retry with exponential backoff - Multi-level permissions with path rules - React/Ink TUI with "Oh my Harness!" branding - 114 unit tests + 6 E2E test suites - MIT License
58 行
1.1 KiB
TOML
58 行
1.1 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "openharness"
|
|
version = "0.1.0"
|
|
description = "Open-source Python port of Claude Code - an AI-powered CLI coding assistant"
|
|
license = "MIT"
|
|
requires-python = ">=3.10"
|
|
authors = [
|
|
{ name = "novix-science" },
|
|
]
|
|
|
|
dependencies = [
|
|
"anthropic>=0.40.0",
|
|
"rich>=13.0.0",
|
|
"prompt-toolkit>=3.0.0",
|
|
"textual>=0.80.0",
|
|
"typer>=0.12.0",
|
|
"pydantic>=2.0.0",
|
|
"httpx>=0.27.0",
|
|
"websockets>=12.0",
|
|
"mcp>=1.0.0",
|
|
"pyperclip>=1.9.0",
|
|
"pyyaml>=6.0",
|
|
"watchfiles>=0.20.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pexpect>=4.9.0",
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.23.0",
|
|
"pytest-cov>=5.0.0",
|
|
"ruff>=0.5.0",
|
|
"mypy>=1.10.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
openharness = "openharness.cli:app"
|
|
oh = "openharness.cli:app"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/openharness"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
strict = true
|