diff --git a/src/generated_schema/2024_11_05/mcp_schema.rs b/src/generated_schema/2024_11_05/mcp_schema.rs index 1e3e329..749180b 100644 --- a/src/generated_schema/2024_11_05/mcp_schema.rs +++ b/src/generated_schema/2024_11_05/mcp_schema.rs @@ -5,8 +5,8 @@ /// modify or extend the implementations as needed, but please do so at your own risk. /// /// Generated from : -/// Hash : 6828f3ef6300b25dd2aaff2a2e5e81188bdbd22e -/// Generated at : 2025-03-11 19:03:43 +/// Hash : bb8f4b7323693910328f72f244352cd71a0689e6 +/// Generated at : 2025-03-15 09:27:41 /// ---------------------------------------------------------------------------- /// /// MCP Protocol Version diff --git a/src/generated_schema/2024_11_05/schema_utils.rs b/src/generated_schema/2024_11_05/schema_utils.rs index b384d9d..dfee0bb 100644 --- a/src/generated_schema/2024_11_05/schema_utils.rs +++ b/src/generated_schema/2024_11_05/schema_utils.rs @@ -57,7 +57,7 @@ fn detect_message_type(value: &serde_json::Value) -> MessageTypes { MessageTypes::Request } -/// Represents a generic MCP (Model Content Protocol) message. +/// Represents a generic MCP (Model Context Protocol) message. /// This trait defines methods to classify and extract information from messages. pub trait RPCMessage: MCPMessage { fn request_id(&self) -> Option<&RequestId>; diff --git a/src/generated_schema/draft/mcp_schema.rs b/src/generated_schema/draft/mcp_schema.rs index cf88210..fbbde60 100644 --- a/src/generated_schema/draft/mcp_schema.rs +++ b/src/generated_schema/draft/mcp_schema.rs @@ -5,8 +5,8 @@ /// modify or extend the implementations as needed, but please do so at your own risk. /// /// Generated from : -/// Hash : 6828f3ef6300b25dd2aaff2a2e5e81188bdbd22e -/// Generated at : 2025-03-11 19:03:43 +/// Hash : bb8f4b7323693910328f72f244352cd71a0689e6 +/// Generated at : 2025-03-15 09:27:42 /// ---------------------------------------------------------------------------- /// /// MCP Protocol Version @@ -3562,6 +3562,10 @@ pub struct PingRequestParamsMeta { /// "progressToken" /// ], /// "properties": { +/// "message": { +/// "description": "An optional message describing the current progress.", +/// "type": "string" +/// }, /// "progress": { /// "description": "The progress thus far. This should increase every time progress is made, even if the total is unknown.", /// "type": "number" @@ -3608,6 +3612,10 @@ impl ProgressNotification { /// "progressToken" /// ], /// "properties": { +/// "message": { +/// "description": "An optional message describing the current progress.", +/// "type": "string" +/// }, /// "progress": { /// "description": "The progress thus far. This should increase every time progress is made, even if the total is unknown.", /// "type": "number" @@ -3626,6 +3634,9 @@ impl ProgressNotification { /// #[derive(::serde::Deserialize, ::serde::Serialize, Clone, Debug)] pub struct ProgressNotificationParams { + ///An optional message describing the current progress. + #[serde(default, skip_serializing_if = "::std::option::Option::is_none")] + pub message: ::std::option::Option<::std::string::String>, pub progress: f64, ///The progress token which was given in the initial request, used to associate this notification with the request that is proceeding. #[serde(rename = "progressToken")] diff --git a/src/generated_schema/draft/schema_utils.rs b/src/generated_schema/draft/schema_utils.rs index e617ecc..42e64f0 100644 --- a/src/generated_schema/draft/schema_utils.rs +++ b/src/generated_schema/draft/schema_utils.rs @@ -57,7 +57,7 @@ fn detect_message_type(value: &serde_json::Value) -> MessageTypes { MessageTypes::Request } -/// Represents a generic MCP (Model Content Protocol) message. +/// Represents a generic MCP (Model Context Protocol) message. /// This trait defines methods to classify and extract information from messages. pub trait RPCMessage: MCPMessage { fn request_id(&self) -> Option<&RequestId>;