添加AOL路由和UI/UX增强组件
Some checks failed
CI / Check / macos-latest (push) Has been cancelled
CI / Check / ubuntu-latest (push) Has been cancelled
CI / Check / windows-latest (push) Has been cancelled
CI / Test / macos-latest (push) Has been cancelled
CI / Test / ubuntu-latest (push) Has been cancelled
CI / Test / windows-latest (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / Secrets Scan (push) Has been cancelled
CI / Install Script Smoke Test (push) Has been cancelled

This commit is contained in:
iven
2026-03-01 17:59:03 +08:00
parent 92e5def702
commit 810e32077e
23 changed files with 8420 additions and 29 deletions

View File

@@ -285,6 +285,36 @@ pub async fn build_router(
"/api/workflows/{id}/runs",
axum::routing::get(routes::list_workflow_runs),
)
// AOL (Agent Orchestration Language) endpoints
.route(
"/api/aol/compile",
axum::routing::post(crate::aol_routes::compile_workflow),
)
.route(
"/api/aol/validate",
axum::routing::post(crate::aol_routes::validate_workflow_handler),
)
.route(
"/api/aol/execute",
axum::routing::post(crate::aol_routes::execute_workflow_handler),
)
.route(
"/api/aol/workflows",
axum::routing::get(crate::aol_routes::list_aol_workflows),
)
.route(
"/api/aol/workflows/{id}",
axum::routing::get(crate::aol_routes::get_aol_workflow)
.delete(crate::aol_routes::delete_aol_workflow),
)
.route(
"/api/aol/executions",
axum::routing::get(crate::aol_routes::list_executions),
)
.route(
"/api/aol/executions/{id}",
axum::routing::get(crate::aol_routes::get_execution),
)
// Skills endpoints
.route("/api/skills", axum::routing::get(routes::list_skills))
.route(