管理台可以密码登录、按角色进入,并把 Watchman 会话 token 交给浏览器。HXOPS 真实跳转仍未联调。 Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
627 B
TOML
29 lines
627 B
TOML
[project]
|
|
name = "watchman"
|
|
version = "0.1.0"
|
|
description = "Watchman modular monolith service package"
|
|
requires-python = ">=3.12,<3.13"
|
|
dependencies = [
|
|
"fastapi>=0.115,<1",
|
|
"uvicorn[standard]>=0.32,<1",
|
|
"pydantic>=2.10,<3",
|
|
"pydantic-settings>=2.6,<3",
|
|
"sqlalchemy>=2.0.36,<2.1",
|
|
"alembic>=1.14,<2",
|
|
"psycopg[binary]>=3.2,<4",
|
|
"celery>=5.4,<6",
|
|
"python-dotenv>=1.0,<2",
|
|
"pyjwt[crypto]>=2.10,<3",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/watchman"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|