feat: rebuild as multi-user web agent

This commit is contained in:
wuyang
2026-07-26 06:52:12 +08:00
parent 45792c8fd5
commit 37f83eaac7
634 changed files with 5060 additions and 139619 deletions
+34 -50
View File
@@ -1,68 +1,52 @@
[build-system]
requires = ["setuptools>=68", "wheel"]
requires = ["setuptools>=75", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "claw-code-agent"
name = "k1412-agent"
version = "0.1.0"
description = "No Rust. Easy to work with. Fast to iterate."
description = "A multi-user web Agent with an independently evolvable Work loop."
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "Claw Code Agent Contributors" }
]
keywords = [
"agent",
"cli",
"coding-agent",
"local-model",
"python",
"qwen",
"vllm"
]
classifiers = [
"Development Status :: 3 - Alpha",
"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",
"Topic :: Software Development :: Build Tools",
]
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.110",
"uvicorn>=0.27",
"pydantic>=2.5",
"openpyxl>=3.1",
"pyarrow>=15",
"requests>=2.31",
"websocket-client>=1.7",
"docker>=7.1,<8",
"fastapi>=0.116,<1",
"httpx>=0.28,<1",
"PyJWT>=2.10,<3",
"pydantic>=2.11,<3",
"SQLAlchemy[asyncio]>=2.0.41,<3",
"asyncpg>=0.30,<1",
"uvicorn[standard]>=0.35,<1",
]
[project.optional-dependencies]
dev = [
"httpx>=0.28",
"aiosqlite>=0.21,<1",
"pip-audit>=2.10,<3",
"pytest>=9.0.3,<10",
"pytest-asyncio>=1.0,<2",
"respx>=0.22,<1",
"ruff>=0.12,<1",
]
[project.urls]
Homepage = "https://github.com/HarnessLab/claw-code-agent"
Repository = "https://github.com/HarnessLab/claw-code-agent"
[project.scripts]
claw-code-agent = "src.main:main"
claw-code-gui = "src.gui.__main__:main"
[tool.setuptools]
include-package-data = true
k1412-agent-runtime = "agent_platform.runtime.app:run"
k1412-workspace-gateway = "agent_platform.gateway.app:run"
k1412-openwebui-bootstrap = "agent_platform.bootstrap:run"
[tool.setuptools.packages.find]
where = ["."]
include = ["src*", "backend*"]
include = ["agent_platform*"]
[tool.setuptools.package-data]
src = [
"reference_data/*.json",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-q"
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "ASYNC", "S"]
ignore = ["S101"]