Merge commit '4b7be20fe0cce3e7979cc3bdfdd7b02ec6630c00' into dev

This commit is contained in:
mofeng-git
2026-06-15 22:26:22 +08:00
20 changed files with 2518 additions and 2 deletions

View File

@@ -170,6 +170,18 @@ pub fn create_router(state: Arc<AppState>) -> Router {
// Web server configuration
.route("/config/web", get(handlers::config::get_web_config))
.route("/config/web", patch(handlers::config::update_web_config))
.route("/config/computer-use", get(handlers::computer_use_config))
.route(
"/config/computer-use",
patch(handlers::computer_use_update_config),
)
.route("/computer-use/session", get(handlers::computer_use_session))
.route("/computer-use/session", post(handlers::computer_use_start))
.route(
"/computer-use/session/stop",
post(handlers::computer_use_stop),
)
.route("/ws/computer-use", any(handlers::computer_use_ws))
// Auth configuration
.route("/config/auth", get(handlers::config::get_auth_config))
.route("/config/auth", patch(handlers::config::update_auth_config))