build
This commit is contained in:
@@ -342,9 +342,8 @@ function cleanToolName(name: string): string {
|
||||
.replace(/[^a-zA-Z0-9_]/g, "_")
|
||||
.replace(/_+/g, "_")
|
||||
.replace(/^_|_$/g, "")
|
||||
.replace(/^(get|post|put|delete|patch|api)_/i, "")
|
||||
.replace(/^(get_|post_|put_|delete_|patch_|api_)+/gi, "")
|
||||
.replace(/(^_|_$)/g, "")
|
||||
// ❗️ METHOD PREFIX TIDAK DIHAPUS LAGI (agar tidak duplicate)
|
||||
.toLowerCase()
|
||||
|| "unnamed_tool";
|
||||
} catch (error) {
|
||||
console.error("Error cleaning tool name:", error);
|
||||
@@ -352,6 +351,7 @@ function cleanToolName(name: string): string {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Ambil OpenAPI JSON dari endpoint dan konversi ke tools MCP
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "n8n-nodes-openapi-mcp-server",
|
||||
"version": "1.1.23",
|
||||
"version": "1.1.24",
|
||||
"keywords": [
|
||||
"n8n",
|
||||
"n8n-nodes"
|
||||
|
||||
7
x.sh
7
x.sh
@@ -1,6 +1 @@
|
||||
FAHMI=628123833845
|
||||
JUNAIDIL=62811380873
|
||||
curl --get \
|
||||
--data-urlencode "nom=$JUNAIDIL" \
|
||||
--data-urlencode "text=ngetes doang gak usah dibales" \
|
||||
https://wa.wibudev.com/code
|
||||
curl -X POST https://local-makuro-n8n.wibudev.com/webhook/f732dd1a-e391-4e76-8d2e-a2d67f234b10/mcp
|
||||
Reference in New Issue
Block a user