- 新增 errors.py:EkbError 基类 + 6 个子类(NotLoggedIn/Authentication/ NotFound/Conflict/Input/ApiResponse),供所有层统一使用 - schemas.py:追加 Server 请求/响应模型(ApiResult / Corp* / Agent*Request / Rule*Request),与快报 API 模型分区维护 - pyproject.toml:新增 fastapi>=0.115.0、uvicorn[standard]>=0.34.0
27 lines
571 B
TOML
27 lines
571 B
TOML
[project]
|
||
name = "ekb-cli"
|
||
version = "0.1.0"
|
||
description = "Add your description here"
|
||
readme = "README.md"
|
||
authors = [
|
||
{ name = "yunyingk", email = "haoda2195176187@gmail.com" }
|
||
]
|
||
requires-python = ">=3.12"
|
||
dependencies = [
|
||
"httpx[socks]>=0.28.1",
|
||
"pydantic>=2.12.5",
|
||
"questionary>=2.1.1",
|
||
"rich>=14.3.3",
|
||
"typer>=0.24.1",
|
||
# HTTP server 支持(ekb serve)
|
||
"fastapi>=0.115.0",
|
||
"uvicorn[standard]>=0.34.0",
|
||
]
|
||
|
||
[project.scripts]
|
||
ekb = "ekb_cli:main"
|
||
|
||
[build-system]
|
||
requires = ["uv_build>=0.10.12,<0.11.0"]
|
||
build-backend = "uv_build"
|