mirror of
https://github.com/val1813/kwcode.git
synced 2026-09-03 06:34:30 +08:00
- feat: trajectory attempts detailed logging (llm_prompt_tail, raw_output, patches_count, etc.) - feat: regression guard — best_tests_passed tracking + rollback on regression - feat: structured_failures in retry hint (test_name + expected/actual) - fix: regression guard closure — best state written back before failure exit - fix: hashline silent fallback to full-function (no retry consumed) - fix: vision expert keyword matching (stricter single-word rejection) - fix: audit logger tests (LOGS_DIR → LOGS_SUCCESS/LOGS_FAILED/LOGS_LEGACY) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
98 lines
2.2 KiB
TOML
98 lines
2.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "kwcode"
|
|
version = "1.8.0"
|
|
description = "KwCode - Local-model coding agent with MoE expert pipeline"
|
|
requires-python = ">=3.10"
|
|
readme = "README.md"
|
|
license = {text = "Apache-2.0"}
|
|
keywords = ["coding-agent", "local-llm", "ollama", "code-generation"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Console",
|
|
"Intended Audience :: Developers",
|
|
"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 :: Code Generators",
|
|
]
|
|
|
|
dependencies = [
|
|
"typer>=0.12.0",
|
|
"rich>=13.0.0",
|
|
"httpx>=0.27.0",
|
|
"psutil>=5.9.0",
|
|
"beautifulsoup4>=4.12.0",
|
|
"trafilatura>=1.12.0",
|
|
"pyyaml>=6.0",
|
|
"rank-bm25>=0.2.2",
|
|
"prompt-toolkit>=3.0.0",
|
|
"tree-sitter>=0.23.0",
|
|
"tree-sitter-python>=0.23.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
rerank = ["sentence-transformers>=2.7.0"]
|
|
multimodal = ["Pillow>=10.0"]
|
|
local = ["llama-cpp-python>=0.2.90"]
|
|
multilang = [
|
|
"tree-sitter-javascript>=0.23.0",
|
|
"tree-sitter-typescript>=0.23.0",
|
|
"tree-sitter-go>=0.23.0",
|
|
"tree-sitter-rust>=0.23.0",
|
|
"tree-sitter-java>=0.23.0",
|
|
"ast-grep-py>=0.30.0",
|
|
]
|
|
server = [
|
|
"fastapi>=0.115.0",
|
|
"uvicorn>=0.30.0",
|
|
"sse-starlette>=2.0.0",
|
|
]
|
|
tui = [
|
|
"textual>=0.80.0",
|
|
]
|
|
full = [
|
|
"kwcode[local]",
|
|
"kwcode[multilang]",
|
|
"kwcode[server]",
|
|
"kwcode[tui]",
|
|
]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"kwcode[full]",
|
|
]
|
|
|
|
[project.scripts]
|
|
kwcode = "kaiwu.cli.main:app"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/val1813/kwcode"
|
|
Repository = "https://github.com/val1813/kwcode"
|
|
Issues = "https://github.com/val1813/kwcode/issues"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["kaiwu*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"kaiwu.builtin_experts" = ["*.yaml"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
ignore_missing_imports = true
|