@wix/mcp 1.0.17 → 1.0.18
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/build/bin-standalone.js +6 -2
- package/build/bin-standalone.js.map +2 -2
- package/build/cjs/index.cjs +6 -2
- package/build/cjs/index.cjs.map +2 -2
- package/build/dts/docs/docs.d.ts.map +1 -1
- package/build/dts/docs/docs.js +0 -2
- package/build/dts/docs/docs.js.map +1 -1
- package/build/esm/index.js +6 -2
- package/build/esm/index.js.map +2 -2
- package/package.json +3 -3
package/build/bin-standalone.js
CHANGED
|
@@ -12183,12 +12183,16 @@ var require_error3 = __commonJS({
|
|
|
12183
12183
|
];
|
|
12184
12184
|
var HttpError = class _HttpError extends Error {
|
|
12185
12185
|
constructor(error) {
|
|
12186
|
+
var _a;
|
|
12186
12187
|
super(error.message);
|
|
12187
12188
|
this.isWixHttpError = true;
|
|
12188
12189
|
Object.setPrototypeOf(this, _HttpError.prototype);
|
|
12189
12190
|
exports.axiosErrorFields.forEach((key) => {
|
|
12190
12191
|
this[key] = error[key];
|
|
12191
12192
|
});
|
|
12193
|
+
if ((_a = this.response) === null || _a === void 0 ? void 0 : _a.headers) {
|
|
12194
|
+
this.response.requestId = (0, headers_1.requestIdOrEmptyString)(this.response);
|
|
12195
|
+
}
|
|
12192
12196
|
}
|
|
12193
12197
|
get requestId() {
|
|
12194
12198
|
return (0, headers_1.requestIdOrEmptyString)(this.response);
|
|
@@ -15588,7 +15592,7 @@ var addDocsTools = (server2, allowedTools = [
|
|
|
15588
15592
|
getToKnowWixEnabled ? WixREADME_DEPENDENT_DESCRIPTION : ""
|
|
15589
15593
|
].join("\n"),
|
|
15590
15594
|
{
|
|
15591
|
-
articleUrl: z.string().url().
|
|
15595
|
+
articleUrl: z.string().url().describe(
|
|
15592
15596
|
"The URL of the docs article or method article to fetch. Should be something like https://dev.wix.com/docs/.../.../..."
|
|
15593
15597
|
)
|
|
15594
15598
|
},
|
|
@@ -15639,7 +15643,7 @@ var addDocsTools = (server2, allowedTools = [
|
|
|
15639
15643
|
"This will give you the entire request/response schema with all the fields and their descriptions."
|
|
15640
15644
|
].join("\n"),
|
|
15641
15645
|
{
|
|
15642
|
-
articleUrl: z.string().url().
|
|
15646
|
+
articleUrl: z.string().url().describe(
|
|
15643
15647
|
"The URL of the documentation to fetch. Should be something like https://dev.wix.com/docs/.../.../..."
|
|
15644
15648
|
)
|
|
15645
15649
|
},
|