multisite-cms-mcp 1.5.2 → 1.5.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.
|
@@ -121,8 +121,8 @@ Tip: Use a JSON validator (like jsonlint.com) to find the exact error location.`
|
|
|
121
121
|
const customCollections = new Set();
|
|
122
122
|
if (templates) {
|
|
123
123
|
// All keys must match the unified format: {slug}Index, {slug}Detail, {slug}IndexPath, {slug}DetailPath
|
|
124
|
-
const VALID_KEY_PATTERN = /^[a-z][a-zA-Z0-
|
|
125
|
-
const KEY_PARTS_PATTERN = /^([a-z][a-zA-Z0-
|
|
124
|
+
const VALID_KEY_PATTERN = /^[a-z][a-zA-Z0-9_]*(Index|Detail|IndexPath|DetailPath)$/;
|
|
125
|
+
const KEY_PARTS_PATTERN = /^([a-z][a-zA-Z0-9_]*)(Index|Detail|IndexPath|DetailPath)$/;
|
|
126
126
|
for (const key of Object.keys(templates)) {
|
|
127
127
|
if (!VALID_KEY_PATTERN.test(key)) {
|
|
128
128
|
// Provide helpful error message with suggestion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "multisite-cms-mcp",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "MCP server for Fast Mode CMS. Convert websites, validate packages, and deploy directly to Fast Mode. Includes authentication, project creation, schema sync, and one-click deployment.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|