Files
zhaoxi 78d03388c0 fix(toolset): 空 toolset_ids 列表视为未配置,回退到返回全部工具集
system_node_config.tools 在 DB 中为 [],导致 regulatory_node 间歇性
无工具可用。将空列表等同于 None 处理,确保节点始终获得默认工具集。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-05 18:45:00 +00:00

28 lines
565 B
Makefile

run:
uv run main.py
clean-cache:
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
find . -type f -name "*.pyc" -delete 2>/dev/null || true
# Alembic 数据库迁移:m="message" 控制 revision 描述
db-revision:
uv run alembic revision --autogenerate -m "$(m)"
db-upgrade:
uv run alembic upgrade head
db-downgrade:
uv run alembic downgrade -1
db-history:
uv run alembic history --verbose
db-stamp-head:
uv run alembic stamp head
test:
docker compose down
docker rmi kilostar-kilostar:latest
docker compose up -d --build