feat: enhance agent orchestration, knowledge flow and UI refinements

This commit is contained in:
2026-03-29 20:31:13 +08:00
parent d85cb9cf35
commit e0fe3ca623
301 changed files with 1197804 additions and 7863 deletions

View File

@@ -14,6 +14,9 @@ from app.routers import (
graph_router,
agent_router,
todo_router,
reminder_router,
goal_router,
schedule_center_router,
settings_router,
folder_router,
skill_router,
@@ -23,7 +26,7 @@ from app.routers import (
)
from app.routers.scheduler import router as scheduler_router
from app.services.scheduler_service import start_scheduler, stop_scheduler, get_scheduler_status
from app.services.admin_bootstrap_service import ensure_admin_user
from app.services.admin_bootstrap_service import ensure_admin_user, ensure_builtin_skills
from app.config import settings
from app.logging_utils import (
setup_logging,
@@ -53,6 +56,7 @@ async def run_startup() -> None:
await init_db()
async with async_session() as session:
await ensure_admin_user(session, settings)
await ensure_builtin_skills(session)
await persist_system_log(
message="application_started",
source="app",
@@ -103,6 +107,9 @@ app.include_router(forum_router)
app.include_router(graph_router)
app.include_router(agent_router)
app.include_router(todo_router)
app.include_router(reminder_router)
app.include_router(goal_router)
app.include_router(schedule_center_router)
app.include_router(settings_router)
app.include_router(folder_router)
app.include_router(skill_router)