新增完整的后台管理系统 (/admin): - Dashboard: 系统概览、最近采集状态、预测统计 - Collection: 数据采集触发(bzzoiro/understat/injuries) - Predictions: 预测历史查看、触发新预测 - Backtest: 回测配置与结果查看 - Monitoring: 系统健康、错误日志、死色队列 - Config: API Key 与数据源配置 技术栈: React Router + Tailwind 暗色主题 + TypeScript 文件: 11 个新文件, +21KB JS / +5KB CSS
44 lines
2.6 KiB
JSON
44 lines
2.6 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(python -m pytest tests/ -v)",
|
|
"Bash(python -c \"import src.core.http_client; import src.llm.provider; import src.data.understat; import src.data.injuries; import src.llm.agents.orchestrator; import src.llm.context_builder; import src.api.app; print\\('All imports OK'\\)\")",
|
|
"Bash(python -c \"from src.data.sources import get_source, list_sources; print\\('sources:', list_sources\\(\\)\\); print\\('bzzoiro:', get_source\\('bzzoiro'\\).name\\); print\\('understat:', get_source\\('understat'\\).name\\)\")",
|
|
"Bash(python -c \"from src.api.routes.ingest import router; print\\('ingest router OK:', len\\(router.routes\\), 'routes'\\)\")",
|
|
"Bash(python -c ' *)",
|
|
"Bash(python -m pytest tests/ -q)",
|
|
"Bash(git -C /p rev-parse --git-dir)",
|
|
"Bash(git config *)",
|
|
"Bash(git init *)",
|
|
"Bash(git add *)",
|
|
"Bash(git commit -m 'feat: 足球 LLM 预测服务初始提交 *)",
|
|
"Bash(git remote *)",
|
|
"Bash(git push *)",
|
|
"Bash(git fetch *)",
|
|
"Bash(git branch *)",
|
|
"Bash(git commit *)",
|
|
"Bash(pg_isready -h localhost -p 5432)",
|
|
"Bash(python -c \"import pytest_asyncio; print\\('pytest-asyncio OK'\\)\")",
|
|
"Bash(python -c \"import pytest; print\\('pytest', pytest.__version__\\)\")",
|
|
"Bash(python -c \"import aiosqlite; print\\('aiosqlite', aiosqlite.__version__\\)\")",
|
|
"Bash(npm run *)",
|
|
"Bash(npm install *)",
|
|
"Bash(git revert *)",
|
|
"Bash(python -c \"from src.api.app import app; print\\('OK'\\)\")",
|
|
"Bash(python -m pytest tests/test_agents.py::TestReportParsing::test_parse_bad_values_forgiving -v)",
|
|
"Bash(python -c \"from src.data.bzzoiro import BzzoiroSource; print\\('OK'\\)\")",
|
|
"Bash(python -m pytest tests/test_agents.py::TestReportParsing::test_parse_full_report -v)",
|
|
"Bash(python -c \"from src.db.unit_of_work import UnitOfWork, get_uow; from src.db.repositories import MatchRepository, TeamRepository; print\\('OK'\\)\")",
|
|
"Bash(python -c \"from src.data.bzzoiro import BzzoiroSource; from src.data.understat import UnderstatSource; from src.data.injuries import ingest_injuries; print\\('OK'\\)\")",
|
|
"Bash(python -m compileall src tests)",
|
|
"Bash(alembic current *)",
|
|
"Bash(alembic history *)",
|
|
"Bash(python -c \"from src.db.models import MatchStats, Prediction; print\\('Models OK'\\)\")",
|
|
"Bash(git pull *)",
|
|
"Bash(ocr delegate *)",
|
|
"Bash(npm i *)",
|
|
"Bash(python -c \"from src.llm.validation import KNOWN_AGENT_NAMES; print\\(KNOWN_AGENT_NAMES\\)\")"
|
|
]
|
|
}
|
|
}
|