+18
-18
lib/mcp.ml
+18
-18
lib/mcp.ml
······························
+11
-11
lib/mcp.mli
+11
-11
lib/mcp.mli
············-val create_request : ?params:Json.t option -> ?progress_token:ProgressToken.t option -> id:RequestId.t -> method_:Method.t -> unit -> t+val create_request : ?params:Json.t option -> ?progress_token:ProgressToken.t option -> id:RequestId.t -> meth:Method.t -> unit -> t···-val create_notification : ?params:Json.t option -> method_:Method.t -> unit -> JSONRPCMessage.t···-val create_request : ?params:Json.t option -> ?progress_token:ProgressToken.t option -> id:RequestId.t -> method_:Method.t -> unit -> JSONRPCMessage.t+val create_request : ?params:Json.t option -> ?progress_token:ProgressToken.t option -> id:RequestId.t -> meth:Method.t -> unit -> JSONRPCMessage.t
+11
-11
lib/mcp_message.ml
+11
-11
lib/mcp_message.ml
···························
+1
-1
lib/mcp_sdk.ml
+1
-1
lib/mcp_sdk.ml
+7
-7
lib/mcp_server.ml
+7
-7
lib/mcp_server.ml
···-Some (create_jsonrpc_error req.id MethodNotFound ("Method not found: " ^ (Method.to_string req.method_)) ()))+Some (create_jsonrpc_error req.id MethodNotFound ("Method not found: " ^ (Method.to_string req.meth)) ()))-Log.debug (Printf.sprintf "Received notification with method: %s" (Method.to_string notif.method_));+Log.debug (Printf.sprintf "Received notification with method: %s" (Method.to_string notif.meth));