feat(vscodex): add remote Codex collaboration module

This commit is contained in:
fawney
2026-09-01 20:25:35 +08:00
parent 5a69cfe40d
commit 30a75832f8
102 changed files with 38569 additions and 11 deletions
@@ -1,7 +1,10 @@
use axum::routing::get;
use axum::Router;
use crate::{handlers::proxy::proxy_request, state::AppState};
use crate::{
handlers::{proxy::proxy_request, public::vscodex_ws_proxy},
state::AppState,
};
pub(crate) fn mount_public_support_routes(router: Router<AppState>) -> Router<AppState> {
router
@@ -26,6 +29,7 @@ pub(crate) fn mount_public_support_routes(router: Router<AppState>) -> Router<Ap
.route("/api/capabilities", get(proxy_request))
.route("/api/capabilities/user-configurable", get(proxy_request))
.route("/api/capabilities/model/{*model_path}", get(proxy_request))
.route("/api/vscodex/ws", get(vscodex_ws_proxy))
.route("/install/{*install_path}", get(proxy_request))
.route("/install-tunnel/{*install_path}", get(proxy_request))
.route("/i/{*install_path}", get(proxy_request))