mcp-wordpress 2.10.3 → 2.10.4
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/dist/config/ConfigurationSchema.d.ts +198 -75
- package/dist/config/ConfigurationSchema.d.ts.map +1 -1
- package/dist/dxt-entry.js +1 -1
- package/dist/dxt-entry.js.map +1 -1
- package/dist/security/InputValidator.d.ts +124 -48
- package/dist/security/InputValidator.d.ts.map +1 -1
- package/dist/types/seo.d.ts +240 -76
- package/dist/types/seo.d.ts.map +1 -1
- package/package.json +5 -2
- package/src/dxt-entry.ts +1 -1
|
@@ -2,32 +2,30 @@ import { z } from "zod";
|
|
|
2
2
|
/**
|
|
3
3
|
* Zod schema for WordPress authentication methods
|
|
4
4
|
*/
|
|
5
|
-
declare const AuthMethodSchema: z.ZodEnum<
|
|
6
|
-
"app-password": "app-password";
|
|
7
|
-
jwt: "jwt";
|
|
8
|
-
basic: "basic";
|
|
9
|
-
"api-key": "api-key";
|
|
10
|
-
cookie: "cookie";
|
|
11
|
-
}>;
|
|
5
|
+
declare const AuthMethodSchema: z.ZodEnum<["app-password", "jwt", "basic", "api-key", "cookie"]>;
|
|
12
6
|
/**
|
|
13
7
|
* Zod schema for URL validation with security checks
|
|
14
8
|
*/
|
|
15
|
-
declare const UrlSchema: z.ZodString
|
|
9
|
+
declare const UrlSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
16
10
|
/**
|
|
17
11
|
* Zod schema for WordPress site configuration
|
|
18
12
|
*/
|
|
19
13
|
declare const SiteConfigSchema: z.ZodObject<{
|
|
20
|
-
WORDPRESS_SITE_URL: z.ZodString
|
|
14
|
+
WORDPRESS_SITE_URL: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
21
15
|
WORDPRESS_USERNAME: z.ZodString;
|
|
22
|
-
WORDPRESS_APP_PASSWORD: z.ZodString
|
|
23
|
-
WORDPRESS_AUTH_METHOD: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
16
|
+
WORDPRESS_APP_PASSWORD: z.ZodEffects<z.ZodString, string, string>;
|
|
17
|
+
WORDPRESS_AUTH_METHOD: z.ZodDefault<z.ZodOptional<z.ZodEnum<["app-password", "jwt", "basic", "api-key", "cookie"]>>>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
WORDPRESS_SITE_URL: string;
|
|
20
|
+
WORDPRESS_USERNAME: string;
|
|
21
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
22
|
+
WORDPRESS_AUTH_METHOD: "app-password" | "jwt" | "basic" | "api-key" | "cookie";
|
|
23
|
+
}, {
|
|
24
|
+
WORDPRESS_SITE_URL: string;
|
|
25
|
+
WORDPRESS_USERNAME: string;
|
|
26
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
27
|
+
WORDPRESS_AUTH_METHOD?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
28
|
+
}>;
|
|
31
29
|
/**
|
|
32
30
|
* Zod schema for site configuration with metadata
|
|
33
31
|
*/
|
|
@@ -35,84 +33,209 @@ declare const SiteSchema: z.ZodObject<{
|
|
|
35
33
|
id: z.ZodString;
|
|
36
34
|
name: z.ZodString;
|
|
37
35
|
config: z.ZodObject<{
|
|
38
|
-
WORDPRESS_SITE_URL: z.ZodString
|
|
36
|
+
WORDPRESS_SITE_URL: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
39
37
|
WORDPRESS_USERNAME: z.ZodString;
|
|
40
|
-
WORDPRESS_APP_PASSWORD: z.ZodString
|
|
41
|
-
WORDPRESS_AUTH_METHOD: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
38
|
+
WORDPRESS_APP_PASSWORD: z.ZodEffects<z.ZodString, string, string>;
|
|
39
|
+
WORDPRESS_AUTH_METHOD: z.ZodDefault<z.ZodOptional<z.ZodEnum<["app-password", "jwt", "basic", "api-key", "cookie"]>>>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
WORDPRESS_SITE_URL: string;
|
|
42
|
+
WORDPRESS_USERNAME: string;
|
|
43
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
44
|
+
WORDPRESS_AUTH_METHOD: "app-password" | "jwt" | "basic" | "api-key" | "cookie";
|
|
45
|
+
}, {
|
|
46
|
+
WORDPRESS_SITE_URL: string;
|
|
47
|
+
WORDPRESS_USERNAME: string;
|
|
48
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
49
|
+
WORDPRESS_AUTH_METHOD?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
name: string;
|
|
53
|
+
id: string;
|
|
54
|
+
config: {
|
|
55
|
+
WORDPRESS_SITE_URL: string;
|
|
56
|
+
WORDPRESS_USERNAME: string;
|
|
57
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
58
|
+
WORDPRESS_AUTH_METHOD: "app-password" | "jwt" | "basic" | "api-key" | "cookie";
|
|
59
|
+
};
|
|
60
|
+
}, {
|
|
61
|
+
name: string;
|
|
62
|
+
id: string;
|
|
63
|
+
config: {
|
|
64
|
+
WORDPRESS_SITE_URL: string;
|
|
65
|
+
WORDPRESS_USERNAME: string;
|
|
66
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
67
|
+
WORDPRESS_AUTH_METHOD?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
68
|
+
};
|
|
69
|
+
}>;
|
|
50
70
|
/**
|
|
51
71
|
* Zod schema for multi-site configuration file
|
|
52
72
|
*/
|
|
53
73
|
declare const MultiSiteConfigSchema: z.ZodObject<{
|
|
54
|
-
sites: z.ZodArray<z.ZodObject<{
|
|
74
|
+
sites: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
55
75
|
id: z.ZodString;
|
|
56
76
|
name: z.ZodString;
|
|
57
77
|
config: z.ZodObject<{
|
|
58
|
-
WORDPRESS_SITE_URL: z.ZodString
|
|
78
|
+
WORDPRESS_SITE_URL: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
59
79
|
WORDPRESS_USERNAME: z.ZodString;
|
|
60
|
-
WORDPRESS_APP_PASSWORD: z.ZodString
|
|
61
|
-
WORDPRESS_AUTH_METHOD: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
80
|
+
WORDPRESS_APP_PASSWORD: z.ZodEffects<z.ZodString, string, string>;
|
|
81
|
+
WORDPRESS_AUTH_METHOD: z.ZodDefault<z.ZodOptional<z.ZodEnum<["app-password", "jwt", "basic", "api-key", "cookie"]>>>;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
WORDPRESS_SITE_URL: string;
|
|
84
|
+
WORDPRESS_USERNAME: string;
|
|
85
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
86
|
+
WORDPRESS_AUTH_METHOD: "app-password" | "jwt" | "basic" | "api-key" | "cookie";
|
|
87
|
+
}, {
|
|
88
|
+
WORDPRESS_SITE_URL: string;
|
|
89
|
+
WORDPRESS_USERNAME: string;
|
|
90
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
91
|
+
WORDPRESS_AUTH_METHOD?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
92
|
+
}>;
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
name: string;
|
|
95
|
+
id: string;
|
|
96
|
+
config: {
|
|
97
|
+
WORDPRESS_SITE_URL: string;
|
|
98
|
+
WORDPRESS_USERNAME: string;
|
|
99
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
100
|
+
WORDPRESS_AUTH_METHOD: "app-password" | "jwt" | "basic" | "api-key" | "cookie";
|
|
101
|
+
};
|
|
102
|
+
}, {
|
|
103
|
+
name: string;
|
|
104
|
+
id: string;
|
|
105
|
+
config: {
|
|
106
|
+
WORDPRESS_SITE_URL: string;
|
|
107
|
+
WORDPRESS_USERNAME: string;
|
|
108
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
109
|
+
WORDPRESS_AUTH_METHOD?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
110
|
+
};
|
|
111
|
+
}>, "many">, {
|
|
112
|
+
name: string;
|
|
113
|
+
id: string;
|
|
114
|
+
config: {
|
|
115
|
+
WORDPRESS_SITE_URL: string;
|
|
116
|
+
WORDPRESS_USERNAME: string;
|
|
117
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
118
|
+
WORDPRESS_AUTH_METHOD: "app-password" | "jwt" | "basic" | "api-key" | "cookie";
|
|
119
|
+
};
|
|
120
|
+
}[], {
|
|
121
|
+
name: string;
|
|
122
|
+
id: string;
|
|
123
|
+
config: {
|
|
124
|
+
WORDPRESS_SITE_URL: string;
|
|
125
|
+
WORDPRESS_USERNAME: string;
|
|
126
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
127
|
+
WORDPRESS_AUTH_METHOD?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
128
|
+
};
|
|
129
|
+
}[]>, {
|
|
130
|
+
name: string;
|
|
131
|
+
id: string;
|
|
132
|
+
config: {
|
|
133
|
+
WORDPRESS_SITE_URL: string;
|
|
134
|
+
WORDPRESS_USERNAME: string;
|
|
135
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
136
|
+
WORDPRESS_AUTH_METHOD: "app-password" | "jwt" | "basic" | "api-key" | "cookie";
|
|
137
|
+
};
|
|
138
|
+
}[], {
|
|
139
|
+
name: string;
|
|
140
|
+
id: string;
|
|
141
|
+
config: {
|
|
142
|
+
WORDPRESS_SITE_URL: string;
|
|
143
|
+
WORDPRESS_USERNAME: string;
|
|
144
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
145
|
+
WORDPRESS_AUTH_METHOD?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
146
|
+
};
|
|
147
|
+
}[]>, {
|
|
148
|
+
name: string;
|
|
149
|
+
id: string;
|
|
150
|
+
config: {
|
|
151
|
+
WORDPRESS_SITE_URL: string;
|
|
152
|
+
WORDPRESS_USERNAME: string;
|
|
153
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
154
|
+
WORDPRESS_AUTH_METHOD: "app-password" | "jwt" | "basic" | "api-key" | "cookie";
|
|
155
|
+
};
|
|
156
|
+
}[], {
|
|
157
|
+
name: string;
|
|
158
|
+
id: string;
|
|
159
|
+
config: {
|
|
160
|
+
WORDPRESS_SITE_URL: string;
|
|
161
|
+
WORDPRESS_USERNAME: string;
|
|
162
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
163
|
+
WORDPRESS_AUTH_METHOD?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
164
|
+
};
|
|
165
|
+
}[]>;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
sites: {
|
|
168
|
+
name: string;
|
|
169
|
+
id: string;
|
|
170
|
+
config: {
|
|
171
|
+
WORDPRESS_SITE_URL: string;
|
|
172
|
+
WORDPRESS_USERNAME: string;
|
|
173
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
174
|
+
WORDPRESS_AUTH_METHOD: "app-password" | "jwt" | "basic" | "api-key" | "cookie";
|
|
175
|
+
};
|
|
176
|
+
}[];
|
|
177
|
+
}, {
|
|
178
|
+
sites: {
|
|
179
|
+
name: string;
|
|
180
|
+
id: string;
|
|
181
|
+
config: {
|
|
182
|
+
WORDPRESS_SITE_URL: string;
|
|
183
|
+
WORDPRESS_USERNAME: string;
|
|
184
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
185
|
+
WORDPRESS_AUTH_METHOD?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
186
|
+
};
|
|
187
|
+
}[];
|
|
188
|
+
}>;
|
|
71
189
|
/**
|
|
72
190
|
* Zod schema for environment variables (single-site mode)
|
|
73
191
|
*/
|
|
74
192
|
declare const EnvironmentConfigSchema: z.ZodObject<{
|
|
75
|
-
WORDPRESS_SITE_URL: z.ZodString
|
|
193
|
+
WORDPRESS_SITE_URL: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
76
194
|
WORDPRESS_USERNAME: z.ZodString;
|
|
77
|
-
WORDPRESS_APP_PASSWORD: z.ZodString
|
|
78
|
-
WORDPRESS_AUTH_METHOD: z.ZodDefault<z.ZodOptional<z.ZodEnum<
|
|
79
|
-
|
|
80
|
-
jwt: "jwt";
|
|
81
|
-
basic: "basic";
|
|
82
|
-
"api-key": "api-key";
|
|
83
|
-
cookie: "cookie";
|
|
84
|
-
}>>>;
|
|
85
|
-
NODE_ENV: z.ZodOptional<z.ZodEnum<{
|
|
86
|
-
development: "development";
|
|
87
|
-
production: "production";
|
|
88
|
-
test: "test";
|
|
89
|
-
dxt: "dxt";
|
|
90
|
-
ci: "ci";
|
|
91
|
-
}>>;
|
|
195
|
+
WORDPRESS_APP_PASSWORD: z.ZodEffects<z.ZodString, string, string>;
|
|
196
|
+
WORDPRESS_AUTH_METHOD: z.ZodDefault<z.ZodOptional<z.ZodEnum<["app-password", "jwt", "basic", "api-key", "cookie"]>>>;
|
|
197
|
+
NODE_ENV: z.ZodOptional<z.ZodEnum<["development", "production", "test", "dxt", "ci"]>>;
|
|
92
198
|
DEBUG: z.ZodOptional<z.ZodString>;
|
|
93
199
|
DISABLE_CACHE: z.ZodOptional<z.ZodString>;
|
|
94
|
-
LOG_LEVEL: z.ZodOptional<z.ZodEnum<
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
200
|
+
LOG_LEVEL: z.ZodOptional<z.ZodEnum<["error", "warn", "info", "debug"]>>;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
WORDPRESS_SITE_URL: string;
|
|
203
|
+
WORDPRESS_USERNAME: string;
|
|
204
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
205
|
+
WORDPRESS_AUTH_METHOD: "app-password" | "jwt" | "basic" | "api-key" | "cookie";
|
|
206
|
+
NODE_ENV?: "development" | "production" | "test" | "dxt" | "ci" | undefined;
|
|
207
|
+
DEBUG?: string | undefined;
|
|
208
|
+
LOG_LEVEL?: "info" | "debug" | "warn" | "error" | undefined;
|
|
209
|
+
DISABLE_CACHE?: string | undefined;
|
|
210
|
+
}, {
|
|
211
|
+
WORDPRESS_SITE_URL: string;
|
|
212
|
+
WORDPRESS_USERNAME: string;
|
|
213
|
+
WORDPRESS_APP_PASSWORD: string;
|
|
214
|
+
NODE_ENV?: "development" | "production" | "test" | "dxt" | "ci" | undefined;
|
|
215
|
+
WORDPRESS_AUTH_METHOD?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
216
|
+
DEBUG?: string | undefined;
|
|
217
|
+
LOG_LEVEL?: "info" | "debug" | "warn" | "error" | undefined;
|
|
218
|
+
DISABLE_CACHE?: string | undefined;
|
|
219
|
+
}>;
|
|
101
220
|
/**
|
|
102
221
|
* Zod schema for MCP configuration passed from client
|
|
103
222
|
*/
|
|
104
223
|
declare const McpConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
105
|
-
wordpressSiteUrl: z.ZodOptional<z.ZodString
|
|
224
|
+
wordpressSiteUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
106
225
|
wordpressUsername: z.ZodOptional<z.ZodString>;
|
|
107
|
-
wordpressAppPassword: z.ZodOptional<z.ZodString
|
|
108
|
-
wordpressAuthMethod: z.ZodOptional<z.ZodEnum<
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
226
|
+
wordpressAppPassword: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
227
|
+
wordpressAuthMethod: z.ZodOptional<z.ZodEnum<["app-password", "jwt", "basic", "api-key", "cookie"]>>;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
wordpressSiteUrl?: string | undefined;
|
|
230
|
+
wordpressUsername?: string | undefined;
|
|
231
|
+
wordpressAppPassword?: string | undefined;
|
|
232
|
+
wordpressAuthMethod?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
233
|
+
}, {
|
|
234
|
+
wordpressSiteUrl?: string | undefined;
|
|
235
|
+
wordpressUsername?: string | undefined;
|
|
236
|
+
wordpressAppPassword?: string | undefined;
|
|
237
|
+
wordpressAuthMethod?: "app-password" | "jwt" | "basic" | "api-key" | "cookie" | undefined;
|
|
238
|
+
}>>;
|
|
116
239
|
/**
|
|
117
240
|
* Type definitions derived from Zod schemas
|
|
118
241
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationSchema.d.ts","sourceRoot":"","sources":["../../src/config/ConfigurationSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,QAAA,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"ConfigurationSchema.d.ts","sourceRoot":"","sources":["../../src/config/ConfigurationSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,QAAA,MAAM,gBAAgB,kEAAyE,CAAC;AAEhG;;GAEG;AACH,QAAA,MAAM,SAAS,yEA2ByC,CAAC;AAEzD;;GAEG;AACH,QAAA,MAA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AAkB,CAAC,MAAM,EAAE,OAAO,GAAG,QAAQ;IAYpD;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IAKvD;;OAEG;IACH,MAAM,CAAC,wBAAwB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,OAAO;IAKjF;;OAEG;IACH,MAAM,CAAC,mBAAmB,CAAC,MAAM,EAAE,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,EAAE;CAOzE;AAGD,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,EAChB,SAAS,GACV,CAAC"}
|
package/dist/dxt-entry.js
CHANGED
|
@@ -9,10 +9,10 @@ logger.debug("DXT entry point starting...");
|
|
|
9
9
|
logger.debug(`Current working directory: ${process.cwd()}`);
|
|
10
10
|
logger.debug(`__dirname equivalent: ${import.meta.url}`);
|
|
11
11
|
logger.debug("Environment variables passed from DXT:");
|
|
12
|
-
logger.debug(` MULTI_SITE_MODE: ${process.env.MULTI_SITE_MODE ? "SET" : "NOT SET"}`);
|
|
13
12
|
logger.debug(` WORDPRESS_SITE_URL: ${process.env.WORDPRESS_SITE_URL ? "SET" : "NOT SET"}`);
|
|
14
13
|
logger.debug(` WORDPRESS_USERNAME: ${process.env.WORDPRESS_USERNAME ? "SET" : "NOT SET"}`);
|
|
15
14
|
logger.debug(` WORDPRESS_APP_PASSWORD: ${process.env.WORDPRESS_APP_PASSWORD ? "SET" : "NOT SET"}`);
|
|
15
|
+
logger.debug("Note: Single-site configured via UI. For multi-site, create mcp-wordpress.config.json in DXT directory.");
|
|
16
16
|
async function startDXTServer() {
|
|
17
17
|
try {
|
|
18
18
|
logger.debug("Creating MCPWordPressServer instance from DXT entry point...");
|
package/dist/dxt-entry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dxt-entry.js","sourceRoot":"","sources":["../src/dxt-entry.ts"],"names":[],"mappings":";AAEA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC;AAEtC,MAAM,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;AAC5C,MAAM,CAAC,KAAK,CAAC,8BAA8B,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;AAC5D,MAAM,CAAC,KAAK,CAAC,yBAAyB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AACzD,MAAM,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;AACvD,MAAM,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"dxt-entry.js","sourceRoot":"","sources":["../src/dxt-entry.ts"],"names":[],"mappings":";AAEA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC;AAEtC,MAAM,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;AAC5C,MAAM,CAAC,KAAK,CAAC,8BAA8B,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;AAC5D,MAAM,CAAC,KAAK,CAAC,yBAAyB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AACzD,MAAM,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;AACvD,MAAM,CAAC,KAAK,CAAC,yBAAyB,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC;AAC5F,MAAM,CAAC,KAAK,CAAC,yBAA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CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AAED,4CAA4C;AAC5C,MAAM,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;AAC1C,cAAc,EAAE,CAAC"}
|
|
@@ -7,18 +7,18 @@ import { z } from "zod";
|
|
|
7
7
|
* Security validation schemas
|
|
8
8
|
*/
|
|
9
9
|
export declare const SecuritySchemas: {
|
|
10
|
-
safeString: z.ZodString
|
|
11
|
-
htmlContent: z.ZodString
|
|
12
|
-
url: z.ZodString
|
|
10
|
+
safeString: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
11
|
+
htmlContent: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
12
|
+
url: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
13
13
|
email: z.ZodString;
|
|
14
14
|
slug: z.ZodString;
|
|
15
|
-
wpContent: z.ZodString
|
|
15
|
+
wpContent: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
16
16
|
siteId: z.ZodString;
|
|
17
17
|
wpId: z.ZodNumber;
|
|
18
|
-
searchQuery: z.ZodString
|
|
19
|
-
filePath: z.ZodString
|
|
20
|
-
passwordMask: z.
|
|
21
|
-
appPassword: z.
|
|
18
|
+
searchQuery: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
19
|
+
filePath: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
20
|
+
passwordMask: z.ZodEffects<z.ZodString, string, string>;
|
|
21
|
+
appPassword: z.ZodEffects<z.ZodString, string, string>;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Input sanitization functions
|
|
@@ -62,67 +62,143 @@ export declare class SecurityValidationError extends Error {
|
|
|
62
62
|
export declare const ToolSchemas: {
|
|
63
63
|
postData: z.ZodObject<{
|
|
64
64
|
site: z.ZodOptional<z.ZodString>;
|
|
65
|
-
title: z.ZodOptional<z.ZodString
|
|
66
|
-
content: z.ZodOptional<z.ZodString
|
|
67
|
-
excerpt: z.ZodOptional<z.ZodString
|
|
68
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
69
|
-
publish: "publish";
|
|
70
|
-
draft: "draft";
|
|
71
|
-
pending: "pending";
|
|
72
|
-
private: "private";
|
|
73
|
-
}>>;
|
|
65
|
+
title: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>>;
|
|
66
|
+
content: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
67
|
+
excerpt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>>;
|
|
68
|
+
status: z.ZodOptional<z.ZodEnum<["publish", "draft", "private", "pending"]>>;
|
|
74
69
|
slug: z.ZodOptional<z.ZodString>;
|
|
75
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
76
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
77
|
-
}, z.
|
|
70
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
71
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
status?: "publish" | "draft" | "pending" | "private" | undefined;
|
|
74
|
+
slug?: string | undefined;
|
|
75
|
+
categories?: number[] | undefined;
|
|
76
|
+
tags?: number[] | undefined;
|
|
77
|
+
title?: string | undefined;
|
|
78
|
+
content?: string | undefined;
|
|
79
|
+
excerpt?: string | undefined;
|
|
80
|
+
site?: string | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
status?: "publish" | "draft" | "pending" | "private" | undefined;
|
|
83
|
+
slug?: string | undefined;
|
|
84
|
+
categories?: number[] | undefined;
|
|
85
|
+
tags?: number[] | undefined;
|
|
86
|
+
title?: string | undefined;
|
|
87
|
+
content?: string | undefined;
|
|
88
|
+
excerpt?: string | undefined;
|
|
89
|
+
site?: string | undefined;
|
|
90
|
+
}>;
|
|
78
91
|
userData: z.ZodObject<{
|
|
79
92
|
site: z.ZodOptional<z.ZodString>;
|
|
80
93
|
username: z.ZodString;
|
|
81
94
|
email: z.ZodString;
|
|
82
|
-
password: z.ZodOptional<z.ZodString
|
|
83
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
84
|
-
firstName: z.ZodOptional<z.ZodString
|
|
85
|
-
lastName: z.ZodOptional<z.ZodString
|
|
86
|
-
}, z.
|
|
95
|
+
password: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>>;
|
|
96
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
97
|
+
firstName: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>>;
|
|
98
|
+
lastName: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>>;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
username: string;
|
|
101
|
+
email: string;
|
|
102
|
+
password?: string | undefined;
|
|
103
|
+
roles?: string[] | undefined;
|
|
104
|
+
site?: string | undefined;
|
|
105
|
+
firstName?: string | undefined;
|
|
106
|
+
lastName?: string | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
username: string;
|
|
109
|
+
email: string;
|
|
110
|
+
password?: string | undefined;
|
|
111
|
+
roles?: string[] | undefined;
|
|
112
|
+
site?: string | undefined;
|
|
113
|
+
firstName?: string | undefined;
|
|
114
|
+
lastName?: string | undefined;
|
|
115
|
+
}>;
|
|
87
116
|
searchParams: z.ZodObject<{
|
|
88
117
|
site: z.ZodOptional<z.ZodString>;
|
|
89
|
-
query: z.ZodString
|
|
90
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
91
|
-
page: "page";
|
|
92
|
-
post: "post";
|
|
93
|
-
any: "any";
|
|
94
|
-
}>>;
|
|
118
|
+
query: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
119
|
+
type: z.ZodOptional<z.ZodEnum<["post", "page", "any"]>>;
|
|
95
120
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
96
|
-
}, z.
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
query: string;
|
|
123
|
+
type?: "page" | "post" | "any" | undefined;
|
|
124
|
+
site?: string | undefined;
|
|
125
|
+
limit?: number | undefined;
|
|
126
|
+
}, {
|
|
127
|
+
query: string;
|
|
128
|
+
type?: "page" | "post" | "any" | undefined;
|
|
129
|
+
site?: string | undefined;
|
|
130
|
+
limit?: number | undefined;
|
|
131
|
+
}>;
|
|
97
132
|
mediaUpload: z.ZodObject<{
|
|
98
133
|
site: z.ZodOptional<z.ZodString>;
|
|
99
|
-
filename: z.ZodString
|
|
100
|
-
title: z.ZodOptional<z.ZodString
|
|
101
|
-
caption: z.ZodOptional<z.ZodString
|
|
102
|
-
description: z.ZodOptional<z.ZodString
|
|
103
|
-
}, z.
|
|
134
|
+
filename: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
135
|
+
title: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>>;
|
|
136
|
+
caption: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>>;
|
|
137
|
+
description: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>>;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
filename: string;
|
|
140
|
+
description?: string | undefined;
|
|
141
|
+
title?: string | undefined;
|
|
142
|
+
site?: string | undefined;
|
|
143
|
+
caption?: string | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
filename: string;
|
|
146
|
+
description?: string | undefined;
|
|
147
|
+
title?: string | undefined;
|
|
148
|
+
site?: string | undefined;
|
|
149
|
+
caption?: string | undefined;
|
|
150
|
+
}>;
|
|
104
151
|
siteSettings: z.ZodObject<{
|
|
105
152
|
site: z.ZodOptional<z.ZodString>;
|
|
106
|
-
title: z.ZodOptional<z.ZodString
|
|
107
|
-
description: z.ZodOptional<z.ZodString
|
|
108
|
-
url: z.ZodOptional<z.ZodString
|
|
153
|
+
title: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>>;
|
|
154
|
+
description: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>>;
|
|
155
|
+
url: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
109
156
|
adminEmail: z.ZodOptional<z.ZodString>;
|
|
110
|
-
}, z.
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
description?: string | undefined;
|
|
159
|
+
title?: string | undefined;
|
|
160
|
+
url?: string | undefined;
|
|
161
|
+
site?: string | undefined;
|
|
162
|
+
adminEmail?: string | undefined;
|
|
163
|
+
}, {
|
|
164
|
+
description?: string | undefined;
|
|
165
|
+
title?: string | undefined;
|
|
166
|
+
url?: string | undefined;
|
|
167
|
+
site?: string | undefined;
|
|
168
|
+
adminEmail?: string | undefined;
|
|
169
|
+
}>;
|
|
111
170
|
listParams: z.ZodObject<{
|
|
112
171
|
site: z.ZodOptional<z.ZodString>;
|
|
113
172
|
page: z.ZodOptional<z.ZodNumber>;
|
|
114
173
|
perPage: z.ZodOptional<z.ZodNumber>;
|
|
115
|
-
search: z.ZodOptional<z.ZodString
|
|
174
|
+
search: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
116
175
|
orderBy: z.ZodOptional<z.ZodString>;
|
|
117
|
-
order: z.ZodOptional<z.ZodEnum<
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
176
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
search?: string | undefined;
|
|
179
|
+
page?: number | undefined;
|
|
180
|
+
order?: "asc" | "desc" | undefined;
|
|
181
|
+
site?: string | undefined;
|
|
182
|
+
perPage?: number | undefined;
|
|
183
|
+
orderBy?: string | undefined;
|
|
184
|
+
}, {
|
|
185
|
+
search?: string | undefined;
|
|
186
|
+
page?: number | undefined;
|
|
187
|
+
order?: "asc" | "desc" | undefined;
|
|
188
|
+
site?: string | undefined;
|
|
189
|
+
perPage?: number | undefined;
|
|
190
|
+
orderBy?: string | undefined;
|
|
191
|
+
}>;
|
|
122
192
|
idParams: z.ZodObject<{
|
|
123
193
|
site: z.ZodOptional<z.ZodString>;
|
|
124
194
|
id: z.ZodNumber;
|
|
125
|
-
}, z.
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
id: number;
|
|
197
|
+
site?: string | undefined;
|
|
198
|
+
}, {
|
|
199
|
+
id: number;
|
|
200
|
+
site?: string | undefined;
|
|
201
|
+
}>;
|
|
126
202
|
};
|
|
127
203
|
/**
|
|
128
204
|
* Rate limiting and DoS protection
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputValidator.d.ts","sourceRoot":"","sources":["../../src/security/InputValidator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAmF3B,CAAC;AAEF;;GAEG;AACH,qBAAa,cAAc;IACzB;;OAEG;IACH,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAW1C;;OAEG;IACH,MAAM,CAAC,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAUjD;;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAQ7C;;OAEG;IACH,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;CAQ3C;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAC,SAAS,IACjC,QAAQ,OAAO,EAAE,cAAc,MAAM,EAAE,YAAY,kBAAkB,wBA0CvF;AAED;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,KAAK;IAChD,SAAgB,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,GAAG;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;gBAEpD,OAAO,EAAE,MAAM,EAAE,MAAM,GAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,GAAG;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAM;CAKlF;AAED;;GAEG;A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,qBAAa,eAAe;IAC1B,OAAO,CAAC,MAAM,CAAC,aAAa,CAA2D;IACvF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAQ;IAC1C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAa;IAE9C;;OAEG;IACH,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAqBlD;;OAEG;IACH,MAAM,CAAC,OAAO,IAAI,IAAI;CAQvB"}
|
package/dist/types/seo.d.ts
CHANGED
|
@@ -337,64 +337,68 @@ export interface SiteAuditResult {
|
|
|
337
337
|
export declare const SEOToolParamsSchema: z.ZodObject<{
|
|
338
338
|
site: z.ZodOptional<z.ZodString>;
|
|
339
339
|
postId: z.ZodOptional<z.ZodNumber>;
|
|
340
|
-
postIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
341
|
-
analysisType: z.ZodOptional<z.ZodEnum<
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
keywords: "keywords";
|
|
345
|
-
structure: "structure";
|
|
346
|
-
}>>;
|
|
347
|
-
schemaType: z.ZodOptional<z.ZodEnum<{
|
|
348
|
-
Article: "Article";
|
|
349
|
-
Product: "Product";
|
|
350
|
-
FAQ: "FAQ";
|
|
351
|
-
HowTo: "HowTo";
|
|
352
|
-
Organization: "Organization";
|
|
353
|
-
Website: "Website";
|
|
354
|
-
BreadcrumbList: "BreadcrumbList";
|
|
355
|
-
Event: "Event";
|
|
356
|
-
Recipe: "Recipe";
|
|
357
|
-
Course: "Course";
|
|
358
|
-
LocalBusiness: "LocalBusiness";
|
|
359
|
-
Person: "Person";
|
|
360
|
-
Review: "Review";
|
|
361
|
-
VideoObject: "VideoObject";
|
|
362
|
-
}>>;
|
|
363
|
-
focusKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
340
|
+
postIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
341
|
+
analysisType: z.ZodOptional<z.ZodEnum<["readability", "keywords", "structure", "full"]>>;
|
|
342
|
+
schemaType: z.ZodOptional<z.ZodEnum<["Article", "Product", "FAQ", "HowTo", "Organization", "Website", "BreadcrumbList", "Event", "Recipe", "Course", "LocalBusiness", "Person", "Review", "VideoObject"]>>;
|
|
343
|
+
focusKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
364
344
|
locale: z.ZodOptional<z.ZodString>;
|
|
365
345
|
updates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
366
346
|
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
367
347
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
368
|
-
auditType: z.ZodOptional<z.ZodEnum<
|
|
369
|
-
full: "full";
|
|
370
|
-
content: "content";
|
|
371
|
-
performance: "performance";
|
|
372
|
-
technical: "technical";
|
|
373
|
-
}>>;
|
|
348
|
+
auditType: z.ZodOptional<z.ZodEnum<["technical", "content", "performance", "full"]>>;
|
|
374
349
|
schema: z.ZodOptional<z.ZodUnknown>;
|
|
375
|
-
}, z.
|
|
350
|
+
}, "strip", z.ZodTypeAny, {
|
|
351
|
+
locale?: string | undefined;
|
|
352
|
+
site?: string | undefined;
|
|
353
|
+
force?: boolean | undefined;
|
|
354
|
+
schema?: unknown;
|
|
355
|
+
postId?: number | undefined;
|
|
356
|
+
postIds?: number[] | undefined;
|
|
357
|
+
analysisType?: "full" | "readability" | "keywords" | "structure" | undefined;
|
|
358
|
+
schemaType?: "Article" | "Product" | "FAQ" | "HowTo" | "Organization" | "Website" | "BreadcrumbList" | "Event" | "Recipe" | "Course" | "LocalBusiness" | "Person" | "Review" | "VideoObject" | undefined;
|
|
359
|
+
focusKeywords?: string[] | undefined;
|
|
360
|
+
updates?: Record<string, unknown> | undefined;
|
|
361
|
+
dryRun?: boolean | undefined;
|
|
362
|
+
auditType?: "full" | "content" | "performance" | "technical" | undefined;
|
|
363
|
+
}, {
|
|
364
|
+
locale?: string | undefined;
|
|
365
|
+
site?: string | undefined;
|
|
366
|
+
force?: boolean | undefined;
|
|
367
|
+
schema?: unknown;
|
|
368
|
+
postId?: number | undefined;
|
|
369
|
+
postIds?: number[] | undefined;
|
|
370
|
+
analysisType?: "full" | "readability" | "keywords" | "structure" | undefined;
|
|
371
|
+
schemaType?: "Article" | "Product" | "FAQ" | "HowTo" | "Organization" | "Website" | "BreadcrumbList" | "Event" | "Recipe" | "Course" | "LocalBusiness" | "Person" | "Review" | "VideoObject" | undefined;
|
|
372
|
+
focusKeywords?: string[] | undefined;
|
|
373
|
+
updates?: Record<string, unknown> | undefined;
|
|
374
|
+
dryRun?: boolean | undefined;
|
|
375
|
+
auditType?: "full" | "content" | "performance" | "technical" | undefined;
|
|
376
|
+
}>;
|
|
376
377
|
export declare const SEORecommendationSchema: z.ZodObject<{
|
|
377
|
-
type: z.ZodEnum<
|
|
378
|
-
|
|
379
|
-
content: "content";
|
|
380
|
-
meta: "meta";
|
|
381
|
-
performance: "performance";
|
|
382
|
-
structure: "structure";
|
|
383
|
-
technical: "technical";
|
|
384
|
-
keyword: "keyword";
|
|
385
|
-
}>;
|
|
386
|
-
priority: z.ZodEnum<{
|
|
387
|
-
low: "low";
|
|
388
|
-
medium: "medium";
|
|
389
|
-
high: "high";
|
|
390
|
-
critical: "critical";
|
|
391
|
-
}>;
|
|
378
|
+
type: z.ZodEnum<["title", "meta", "content", "structure", "keyword", "technical", "performance"]>;
|
|
379
|
+
priority: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
392
380
|
message: z.ZodString;
|
|
393
381
|
impact: z.ZodNumber;
|
|
394
382
|
autoFixAvailable: z.ZodBoolean;
|
|
395
383
|
suggestedFix: z.ZodOptional<z.ZodString>;
|
|
396
384
|
helpUrl: z.ZodOptional<z.ZodString>;
|
|
397
|
-
}, z.
|
|
385
|
+
}, "strip", z.ZodTypeAny, {
|
|
386
|
+
type: "title" | "content" | "meta" | "performance" | "structure" | "technical" | "keyword";
|
|
387
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
388
|
+
message: string;
|
|
389
|
+
impact: number;
|
|
390
|
+
autoFixAvailable: boolean;
|
|
391
|
+
suggestedFix?: string | undefined;
|
|
392
|
+
helpUrl?: string | undefined;
|
|
393
|
+
}, {
|
|
394
|
+
type: "title" | "content" | "meta" | "performance" | "structure" | "technical" | "keyword";
|
|
395
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
396
|
+
message: string;
|
|
397
|
+
impact: number;
|
|
398
|
+
autoFixAvailable: boolean;
|
|
399
|
+
suggestedFix?: string | undefined;
|
|
400
|
+
helpUrl?: string | undefined;
|
|
401
|
+
}>;
|
|
398
402
|
export declare const SEOMetricsSchema: z.ZodObject<{
|
|
399
403
|
wordCount: z.ZodNumber;
|
|
400
404
|
avgWordsPerSentence: z.ZodNumber;
|
|
@@ -408,15 +412,36 @@ export declare const SEOMetricsSchema: z.ZodObject<{
|
|
|
408
412
|
imageCount: z.ZodNumber;
|
|
409
413
|
imagesWithAltText: z.ZodNumber;
|
|
410
414
|
readingTime: z.ZodNumber;
|
|
411
|
-
}, z.
|
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
|
416
|
+
wordCount: number;
|
|
417
|
+
avgWordsPerSentence: number;
|
|
418
|
+
avgSyllablesPerWord: number;
|
|
419
|
+
fleschReadingEase: number;
|
|
420
|
+
fleschKincaidGrade: number;
|
|
421
|
+
keywordDensity: number;
|
|
422
|
+
headingCount: number;
|
|
423
|
+
internalLinkCount: number;
|
|
424
|
+
externalLinkCount: number;
|
|
425
|
+
imageCount: number;
|
|
426
|
+
imagesWithAltText: number;
|
|
427
|
+
readingTime: number;
|
|
428
|
+
}, {
|
|
429
|
+
wordCount: number;
|
|
430
|
+
avgWordsPerSentence: number;
|
|
431
|
+
avgSyllablesPerWord: number;
|
|
432
|
+
fleschReadingEase: number;
|
|
433
|
+
fleschKincaidGrade: number;
|
|
434
|
+
keywordDensity: number;
|
|
435
|
+
headingCount: number;
|
|
436
|
+
internalLinkCount: number;
|
|
437
|
+
externalLinkCount: number;
|
|
438
|
+
imageCount: number;
|
|
439
|
+
imagesWithAltText: number;
|
|
440
|
+
readingTime: number;
|
|
441
|
+
}>;
|
|
412
442
|
export declare const SEOAnalysisResultSchema: z.ZodObject<{
|
|
413
443
|
score: z.ZodNumber;
|
|
414
|
-
status: z.ZodEnum<
|
|
415
|
-
excellent: "excellent";
|
|
416
|
-
good: "good";
|
|
417
|
-
poor: "poor";
|
|
418
|
-
"needs-improvement": "needs-improvement";
|
|
419
|
-
}>;
|
|
444
|
+
status: z.ZodEnum<["poor", "needs-improvement", "good", "excellent"]>;
|
|
420
445
|
metrics: z.ZodObject<{
|
|
421
446
|
wordCount: z.ZodNumber;
|
|
422
447
|
avgWordsPerSentence: z.ZodNumber;
|
|
@@ -430,44 +455,183 @@ export declare const SEOAnalysisResultSchema: z.ZodObject<{
|
|
|
430
455
|
imageCount: z.ZodNumber;
|
|
431
456
|
imagesWithAltText: z.ZodNumber;
|
|
432
457
|
readingTime: z.ZodNumber;
|
|
433
|
-
}, z.
|
|
458
|
+
}, "strip", z.ZodTypeAny, {
|
|
459
|
+
wordCount: number;
|
|
460
|
+
avgWordsPerSentence: number;
|
|
461
|
+
avgSyllablesPerWord: number;
|
|
462
|
+
fleschReadingEase: number;
|
|
463
|
+
fleschKincaidGrade: number;
|
|
464
|
+
keywordDensity: number;
|
|
465
|
+
headingCount: number;
|
|
466
|
+
internalLinkCount: number;
|
|
467
|
+
externalLinkCount: number;
|
|
468
|
+
imageCount: number;
|
|
469
|
+
imagesWithAltText: number;
|
|
470
|
+
readingTime: number;
|
|
471
|
+
}, {
|
|
472
|
+
wordCount: number;
|
|
473
|
+
avgWordsPerSentence: number;
|
|
474
|
+
avgSyllablesPerWord: number;
|
|
475
|
+
fleschReadingEase: number;
|
|
476
|
+
fleschKincaidGrade: number;
|
|
477
|
+
keywordDensity: number;
|
|
478
|
+
headingCount: number;
|
|
479
|
+
internalLinkCount: number;
|
|
480
|
+
externalLinkCount: number;
|
|
481
|
+
imageCount: number;
|
|
482
|
+
imagesWithAltText: number;
|
|
483
|
+
readingTime: number;
|
|
484
|
+
}>;
|
|
434
485
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
435
|
-
type: z.ZodEnum<
|
|
436
|
-
|
|
437
|
-
content: "content";
|
|
438
|
-
meta: "meta";
|
|
439
|
-
performance: "performance";
|
|
440
|
-
structure: "structure";
|
|
441
|
-
technical: "technical";
|
|
442
|
-
keyword: "keyword";
|
|
443
|
-
}>;
|
|
444
|
-
priority: z.ZodEnum<{
|
|
445
|
-
low: "low";
|
|
446
|
-
medium: "medium";
|
|
447
|
-
high: "high";
|
|
448
|
-
critical: "critical";
|
|
449
|
-
}>;
|
|
486
|
+
type: z.ZodEnum<["title", "meta", "content", "structure", "keyword", "technical", "performance"]>;
|
|
487
|
+
priority: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
450
488
|
message: z.ZodString;
|
|
451
489
|
impact: z.ZodNumber;
|
|
452
490
|
autoFixAvailable: z.ZodBoolean;
|
|
453
491
|
suggestedFix: z.ZodOptional<z.ZodString>;
|
|
454
492
|
helpUrl: z.ZodOptional<z.ZodString>;
|
|
455
|
-
}, z.
|
|
493
|
+
}, "strip", z.ZodTypeAny, {
|
|
494
|
+
type: "title" | "content" | "meta" | "performance" | "structure" | "technical" | "keyword";
|
|
495
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
496
|
+
message: string;
|
|
497
|
+
impact: number;
|
|
498
|
+
autoFixAvailable: boolean;
|
|
499
|
+
suggestedFix?: string | undefined;
|
|
500
|
+
helpUrl?: string | undefined;
|
|
501
|
+
}, {
|
|
502
|
+
type: "title" | "content" | "meta" | "performance" | "structure" | "technical" | "keyword";
|
|
503
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
504
|
+
message: string;
|
|
505
|
+
impact: number;
|
|
506
|
+
autoFixAvailable: boolean;
|
|
507
|
+
suggestedFix?: string | undefined;
|
|
508
|
+
helpUrl?: string | undefined;
|
|
509
|
+
}>, "many">;
|
|
456
510
|
keywordAnalysis: z.ZodOptional<z.ZodObject<{
|
|
457
511
|
primaryKeyword: z.ZodString;
|
|
458
512
|
keywordFound: z.ZodBoolean;
|
|
459
513
|
occurrences: z.ZodNumber;
|
|
460
514
|
density: z.ZodNumber;
|
|
461
|
-
semanticKeywords: z.ZodArray<z.ZodString>;
|
|
462
|
-
competitorGap: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
463
|
-
}, z.
|
|
515
|
+
semanticKeywords: z.ZodArray<z.ZodString, "many">;
|
|
516
|
+
competitorGap: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
517
|
+
}, "strip", z.ZodTypeAny, {
|
|
518
|
+
primaryKeyword: string;
|
|
519
|
+
keywordFound: boolean;
|
|
520
|
+
occurrences: number;
|
|
521
|
+
density: number;
|
|
522
|
+
semanticKeywords: string[];
|
|
523
|
+
competitorGap?: string[] | undefined;
|
|
524
|
+
}, {
|
|
525
|
+
primaryKeyword: string;
|
|
526
|
+
keywordFound: boolean;
|
|
527
|
+
occurrences: number;
|
|
528
|
+
density: number;
|
|
529
|
+
semanticKeywords: string[];
|
|
530
|
+
competitorGap?: string[] | undefined;
|
|
531
|
+
}>>;
|
|
464
532
|
structure: z.ZodOptional<z.ZodObject<{
|
|
465
533
|
hasH1: z.ZodBoolean;
|
|
466
534
|
h1Text: z.ZodString;
|
|
467
535
|
headingHierarchy: z.ZodBoolean;
|
|
468
536
|
paragraphCount: z.ZodNumber;
|
|
469
537
|
avgParagraphLength: z.ZodNumber;
|
|
470
|
-
}, z.
|
|
538
|
+
}, "strip", z.ZodTypeAny, {
|
|
539
|
+
hasH1: boolean;
|
|
540
|
+
h1Text: string;
|
|
541
|
+
headingHierarchy: boolean;
|
|
542
|
+
paragraphCount: number;
|
|
543
|
+
avgParagraphLength: number;
|
|
544
|
+
}, {
|
|
545
|
+
hasH1: boolean;
|
|
546
|
+
h1Text: string;
|
|
547
|
+
headingHierarchy: boolean;
|
|
548
|
+
paragraphCount: number;
|
|
549
|
+
avgParagraphLength: number;
|
|
550
|
+
}>>;
|
|
471
551
|
analyzedAt: z.ZodString;
|
|
472
|
-
}, z.
|
|
552
|
+
}, "strip", z.ZodTypeAny, {
|
|
553
|
+
status: "excellent" | "good" | "poor" | "needs-improvement";
|
|
554
|
+
metrics: {
|
|
555
|
+
wordCount: number;
|
|
556
|
+
avgWordsPerSentence: number;
|
|
557
|
+
avgSyllablesPerWord: number;
|
|
558
|
+
fleschReadingEase: number;
|
|
559
|
+
fleschKincaidGrade: number;
|
|
560
|
+
keywordDensity: number;
|
|
561
|
+
headingCount: number;
|
|
562
|
+
internalLinkCount: number;
|
|
563
|
+
externalLinkCount: number;
|
|
564
|
+
imageCount: number;
|
|
565
|
+
imagesWithAltText: number;
|
|
566
|
+
readingTime: number;
|
|
567
|
+
};
|
|
568
|
+
recommendations: {
|
|
569
|
+
type: "title" | "content" | "meta" | "performance" | "structure" | "technical" | "keyword";
|
|
570
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
571
|
+
message: string;
|
|
572
|
+
impact: number;
|
|
573
|
+
autoFixAvailable: boolean;
|
|
574
|
+
suggestedFix?: string | undefined;
|
|
575
|
+
helpUrl?: string | undefined;
|
|
576
|
+
}[];
|
|
577
|
+
score: number;
|
|
578
|
+
analyzedAt: string;
|
|
579
|
+
structure?: {
|
|
580
|
+
hasH1: boolean;
|
|
581
|
+
h1Text: string;
|
|
582
|
+
headingHierarchy: boolean;
|
|
583
|
+
paragraphCount: number;
|
|
584
|
+
avgParagraphLength: number;
|
|
585
|
+
} | undefined;
|
|
586
|
+
keywordAnalysis?: {
|
|
587
|
+
primaryKeyword: string;
|
|
588
|
+
keywordFound: boolean;
|
|
589
|
+
occurrences: number;
|
|
590
|
+
density: number;
|
|
591
|
+
semanticKeywords: string[];
|
|
592
|
+
competitorGap?: string[] | undefined;
|
|
593
|
+
} | undefined;
|
|
594
|
+
}, {
|
|
595
|
+
status: "excellent" | "good" | "poor" | "needs-improvement";
|
|
596
|
+
metrics: {
|
|
597
|
+
wordCount: number;
|
|
598
|
+
avgWordsPerSentence: number;
|
|
599
|
+
avgSyllablesPerWord: number;
|
|
600
|
+
fleschReadingEase: number;
|
|
601
|
+
fleschKincaidGrade: number;
|
|
602
|
+
keywordDensity: number;
|
|
603
|
+
headingCount: number;
|
|
604
|
+
internalLinkCount: number;
|
|
605
|
+
externalLinkCount: number;
|
|
606
|
+
imageCount: number;
|
|
607
|
+
imagesWithAltText: number;
|
|
608
|
+
readingTime: number;
|
|
609
|
+
};
|
|
610
|
+
recommendations: {
|
|
611
|
+
type: "title" | "content" | "meta" | "performance" | "structure" | "technical" | "keyword";
|
|
612
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
613
|
+
message: string;
|
|
614
|
+
impact: number;
|
|
615
|
+
autoFixAvailable: boolean;
|
|
616
|
+
suggestedFix?: string | undefined;
|
|
617
|
+
helpUrl?: string | undefined;
|
|
618
|
+
}[];
|
|
619
|
+
score: number;
|
|
620
|
+
analyzedAt: string;
|
|
621
|
+
structure?: {
|
|
622
|
+
hasH1: boolean;
|
|
623
|
+
h1Text: string;
|
|
624
|
+
headingHierarchy: boolean;
|
|
625
|
+
paragraphCount: number;
|
|
626
|
+
avgParagraphLength: number;
|
|
627
|
+
} | undefined;
|
|
628
|
+
keywordAnalysis?: {
|
|
629
|
+
primaryKeyword: string;
|
|
630
|
+
keywordFound: boolean;
|
|
631
|
+
occurrences: number;
|
|
632
|
+
density: number;
|
|
633
|
+
semanticKeywords: string[];
|
|
634
|
+
competitorGap?: string[] | undefined;
|
|
635
|
+
} | undefined;
|
|
636
|
+
}>;
|
|
473
637
|
//# sourceMappingURL=seo.d.ts.map
|
package/dist/types/seo.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seo.d.ts","sourceRoot":"","sources":["../../src/types/seo.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,M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Ae;IAC9B,sBAAsB;IACtB,SAAS,EAAE,MAAM,CAAC;IAElB,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAEhB,wCAAwC;IACxC,YAAY,EAAE,MAAM,CAAC;IAErB,4CAA4C;IAC5C,QAAQ,EAAE,YAAY,EAAE,CAAC;IAEzB,gCAAgC;IAChC,MAAM,EAAE,UAAU,EAAE,CAAC;IAErB,iCAAiC;IACjC,eAAe,EAAE,MAAM,EAAE,CAAC;IAE1B,yBAAyB;IACzB,OAAO,EAAE,MAAM,CAAC;IAEhB,sCAAsC;IACtC,cAAc,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B9B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa3B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBlC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-wordpress",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.4",
|
|
4
4
|
"description": "Comprehensive Model Context Protocol server for WordPress management with composition-based architecture, 59 tools, SEO toolkit, performance monitoring, intelligent caching, and production-ready authentication",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -98,8 +98,11 @@
|
|
|
98
98
|
"test:tools": "node scripts/test-all-tools-fixed.js",
|
|
99
99
|
"test:typescript": "npm run build && npm run typecheck",
|
|
100
100
|
"test:ui": "npm run build && vitest --ui",
|
|
101
|
+
"test:vscode": "npm run build && node dist/scripts/test-vscode-setup.js",
|
|
101
102
|
"test:watch": "vitest",
|
|
102
103
|
"typecheck": "tsc --noEmit",
|
|
104
|
+
"setup:vscode": "code --install-extension bradlc.vscode-tailwindcss && code --install-extension continue.continue && code --install-extension ms-python.python && code --install-extension ms-vscode.hexeditor",
|
|
105
|
+
"doctor:vscode": "npm run test:vscode && echo '\n🩺 VS Code health check complete'",
|
|
103
106
|
"verify-claude": "node scripts/verify-claude-integration.js"
|
|
104
107
|
},
|
|
105
108
|
"lint-staged": {
|
|
@@ -125,7 +128,7 @@
|
|
|
125
128
|
"@modelcontextprotocol/sdk": "^1.17.4",
|
|
126
129
|
"dotenv": "^17.2.1",
|
|
127
130
|
"form-data": "^4.0.4",
|
|
128
|
-
"zod": "^
|
|
131
|
+
"zod": "^3.25.0"
|
|
129
132
|
},
|
|
130
133
|
"devDependencies": {
|
|
131
134
|
"@eslint/js": "^9.34.0",
|
package/src/dxt-entry.ts
CHANGED
|
@@ -13,10 +13,10 @@ logger.debug("DXT entry point starting...");
|
|
|
13
13
|
logger.debug(`Current working directory: ${process.cwd()}`);
|
|
14
14
|
logger.debug(`__dirname equivalent: ${import.meta.url}`);
|
|
15
15
|
logger.debug("Environment variables passed from DXT:");
|
|
16
|
-
logger.debug(` MULTI_SITE_MODE: ${process.env.MULTI_SITE_MODE ? "SET" : "NOT SET"}`);
|
|
17
16
|
logger.debug(` WORDPRESS_SITE_URL: ${process.env.WORDPRESS_SITE_URL ? "SET" : "NOT SET"}`);
|
|
18
17
|
logger.debug(` WORDPRESS_USERNAME: ${process.env.WORDPRESS_USERNAME ? "SET" : "NOT SET"}`);
|
|
19
18
|
logger.debug(` WORDPRESS_APP_PASSWORD: ${process.env.WORDPRESS_APP_PASSWORD ? "SET" : "NOT SET"}`);
|
|
19
|
+
logger.debug("Note: Single-site configured via UI. For multi-site, create mcp-wordpress.config.json in DXT directory.");
|
|
20
20
|
|
|
21
21
|
async function startDXTServer() {
|
|
22
22
|
try {
|