@gavdi/cap-mcp 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/mcp/validation.js +1 -1
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# CAP MCP Plugin - AI With Ease
|
|
2
|
-
  
|
|
2
|
+
   
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
package/lib/mcp/validation.js
CHANGED
|
@@ -64,7 +64,7 @@ exports.ODataQueryValidationSchemas = {
|
|
|
64
64
|
.string()
|
|
65
65
|
.min(1)
|
|
66
66
|
.max(200)
|
|
67
|
-
.regex(/^[a-zA-Z_][a-zA-Z0-9_
|
|
67
|
+
.regex(/^[a-zA-Z_][a-zA-Z0-9_]*(?:\s+(asc|desc))?(?:\s*,\s*[a-zA-Z_][a-zA-Z0-9_]*(?:\s+(asc|desc))?)*$/i),
|
|
68
68
|
filter: zod_1.z.string().min(1).max(1000),
|
|
69
69
|
};
|
|
70
70
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gavdi/cap-mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "MCP Pluging for CAP",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MCP",
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"test": "NODE_ENV=test jest --silent --testTimeout=30000",
|
|
27
27
|
"test:unit": "NODE_ENV=test jest --silent test/unit --testTimeout=30000",
|
|
28
28
|
"test:integration": "NODE_ENV=test jest --silent test/integration --testTimeout=30000",
|
|
29
|
+
"test:coverage": "NODE_ENV=test jest --silent --coverage --testTimeout=30000",
|
|
30
|
+
"test:coverage:unit": "NODE_ENV=test jest --silent --coverage test/unit --testTimeout=30000",
|
|
31
|
+
"test:coverage:integration": "NODE_ENV=test jest --silent --coverage test/integration --testTimeout=30000",
|
|
32
|
+
"coverage:report": "NODE_ENV=test jest --silent --coverage --passWithNoTests --testTimeout=30000",
|
|
29
33
|
"build": "tsc",
|
|
30
34
|
"inspect": "npx @modelcontextprotocol/inspector",
|
|
31
35
|
"prepare": "husky",
|
|
@@ -41,7 +45,7 @@
|
|
|
41
45
|
"express": "^4"
|
|
42
46
|
},
|
|
43
47
|
"dependencies": {
|
|
44
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
48
|
+
"@modelcontextprotocol/sdk": "^1.19.1",
|
|
45
49
|
"@sap/xssec": "^4.9.1",
|
|
46
50
|
"helmet": "^8.1.0",
|
|
47
51
|
"zod": "^3.25.67",
|