aKode fase 5: test e snapshot adeguati alla rinomina, 429 distinto (ProviderRateLimited), cargo fmt dopo il cambio dei prefissi

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-11 12:47:01 +01:00
parent 8b73331037
commit ad43f9281a
919 changed files with 2358 additions and 2430 deletions

View File

@@ -1,8 +1,8 @@
use std::io;
use akode_exec_server_protocol::JSONRPCErrorError;
use base64::Engine as _;
use base64::engine::general_purpose::STANDARD;
use akode_exec_server_protocol::JSONRPCErrorError;
use crate::CapabilityRootsDiscoverParams;
use crate::CapabilityRootsDiscoverResponse;

View File

@@ -1,6 +1,11 @@
//! Exec-server stdio and WebSocket listeners. Configured authentication gates
//! WebSocket upgrades; unauthenticated listeners remain supported for compatibility.
use akode_http_client::HttpClientFactory;
use akode_websocket_auth::WebsocketAuthPolicy;
use akode_websocket_auth::WebsocketAuthSettings;
use akode_websocket_auth::authorize_upgrade;
use akode_websocket_auth::policy_from_settings;
use axum::Router;
use axum::body::Body;
use axum::extract::ConnectInfo;
@@ -16,11 +21,6 @@ use axum::response::IntoResponse;
use axum::response::Response;
use axum::routing::any;
use axum::routing::get;
use akode_http_client::HttpClientFactory;
use akode_websocket_auth::WebsocketAuthPolicy;
use akode_websocket_auth::WebsocketAuthSettings;
use akode_websocket_auth::authorize_upgrade;
use akode_websocket_auth::policy_from_settings;
use std::io::Write as _;
use std::net::SocketAddr;
use tokio::io;