feat: upgrade to rmcp 0.12.0 and sacp 10.0.0 by removing SSE transport (#6304)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
@@ -30,6 +30,8 @@ use utoipa::ToSchema;
|
||||
#[derive(Serialize, ToSchema)]
|
||||
pub struct ExtensionResponse {
|
||||
pub extensions: Vec<ExtensionEntry>,
|
||||
#[serde(default)]
|
||||
pub warnings: Vec<String>,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, ToSchema)]
|
||||
@@ -254,7 +256,11 @@ pub async fn read_config(
|
||||
)]
|
||||
pub async fn get_extensions() -> Result<Json<ExtensionResponse>, StatusCode> {
|
||||
let extensions = goose::config::get_all_extensions();
|
||||
Ok(Json(ExtensionResponse { extensions }))
|
||||
let warnings = goose::config::get_warnings();
|
||||
Ok(Json(ExtensionResponse {
|
||||
extensions,
|
||||
warnings,
|
||||
}))
|
||||
}
|
||||
|
||||
#[utoipa::path(
|
||||
|
||||
Reference in New Issue
Block a user