37 lines
662 B
TOML
37 lines
662 B
TOML
[build-system]
|
||
requires = ["hatchling>=1.24.0"]
|
||
build-backend = "hatchling.build"
|
||
|
||
[project]
|
||
name = "cc-slim"
|
||
version = "0.1.0"
|
||
description = "极简 Python Agent Harness,用于本地仓库任务闭环演示。"
|
||
readme = "AGENTS.md"
|
||
requires-python = ">=3.11"
|
||
dependencies = [
|
||
"anthropic>=0.93.0",
|
||
"openai>=1.76.0",
|
||
"rich>=14.3.3",
|
||
"typer>=0.24.1",
|
||
]
|
||
|
||
[project.scripts]
|
||
cc-slim = "cc_slim.main:app"
|
||
|
||
[tool.hatch.build.targets.wheel]
|
||
packages = ["src/cc_slim"]
|
||
|
||
[tool.cc_slim]
|
||
provider = "openai"
|
||
model = "gpt-4.1-mini"
|
||
max_turns = 12
|
||
|
||
[dependency-groups]
|
||
dev = [
|
||
"pytest>=9.0.3",
|
||
"ruff>=0.15.10",
|
||
]
|
||
|
||
[tool.pytest.ini_options]
|
||
testpaths = ["tests"]
|