@wix/mcp 1.0.28 → 1.0.29
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 +5 -3
- package/build/bin-standalone.js.map +2 -2
- package/build/cjs/index.cjs +5 -3
- package/build/cjs/index.cjs.map +2 -2
- package/build/dts/config/default-config.d.ts.map +1 -1
- package/build/dts/config/default-config.js +3 -1
- package/build/dts/config/default-config.js.map +1 -1
- package/build/dts/config/param-descriptions.js +2 -2
- package/build/dts/config/param-descriptions.js.map +1 -1
- package/build/esm/index.js +5 -3
- package/build/esm/index.js.map +2 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-config.d.ts","sourceRoot":"","sources":["../../../src/config/default-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAE5C,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,6BAA6B,CAAC,EAAE,OAAO,CAAC;CACzC;AAUD;;GAEG;AACH,eAAO,MAAM,eAAe,QAyB3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"default-config.d.ts","sourceRoot":"","sources":["../../../src/config/default-config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAE5C,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,6BAA6B,CAAC,EAAE,OAAO,CAAC;CACzC;AAUD;;GAEG;AACH,eAAO,MAAM,eAAe,QAyB3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAqI1D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,eAAe,EAoE9C,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,iBAAiB,EACvB,SAAS,EAAE,OAAO,CAAC,iBAAiB,CAAC,GACpC,iBAAiB,CAiBnB;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,iBAQ3B,CAAC"}
|
|
@@ -62,7 +62,8 @@ export const defaultToolDescriptions = {
|
|
|
62
62
|
${SYSTEM_REMINDER}
|
|
63
63
|
`,
|
|
64
64
|
CallWixSiteAPI: dedent `
|
|
65
|
-
Call Wix apis on a business or site. Use this to create, read, update, and delete data and other Wix entities in your Wix site
|
|
65
|
+
Call Wix apis on a business or site. Use this to create, read, update, and delete data and other Wix entities in your Wix site.
|
|
66
|
+
For POST/PATCH/PUT requests, pass the request body as a JSON object in the "body" parameter with all the required fields and values as described in the API schema, code examples, or docs you retrieved (e.g. body: {"name": "value", "nested": {"key": "value"}}).
|
|
66
67
|
The API endpoint url param MUST ALWAYS be taken from the conversation context.
|
|
67
68
|
By conversation context we mean the endpoint url was given in the user prompt OR got into the conversation context by the "WixREADME" tool OR by the "SearchWixRESTDocumentation" tool OR by the "BrowseWixRESTDocsMenu" tool OR by the "ReadFullDocsArticle" tool.
|
|
68
69
|
Error Handling:
|
|
@@ -79,6 +80,7 @@ export const defaultToolDescriptions = {
|
|
|
79
80
|
`,
|
|
80
81
|
ManageWixSite: dedent `
|
|
81
82
|
Use account level API in order to create a site, update a site and publish site.
|
|
83
|
+
For POST/PATCH/PUT requests, pass the request body as a JSON object in the "body" parameter with all the required fields and values as described in the API schema, code examples, or docs you retrieved (e.g. body: {"name": "value", "nested": {"key": "value"}}).
|
|
82
84
|
The API endpoint url param MUST ALWAYS be taken from the conversation context.
|
|
83
85
|
By conversation context we mean the endpoint url was given in the user prompt or got into the conversation context by the "WixREADME" tool or by the "SearchWixRESTDocumentation" tool or by the "BrowseWixRESTDocsMenu" tool or by the "ReadFullDocsArticle" tool.
|
|
84
86
|
${SYSTEM_REMINDER}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-config.js","sourceRoot":"","sources":["../../../src/config/default-config.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAoB5B;;GAEG;AACH,MAAM,UAAU,GAAG,MAAM,CAAA;;;CAGxB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAA;;;;;IAKjC,UAAU;;;;;;;;;;;;;;;;;;;;CAoBb,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAA2B;IAC7D,SAAS,EAAE,MAAM,CAAA;;;MAGb,eAAe;GAClB;IAED,0BAA0B,EAAE,MAAM,CAAA;;;;;MAK9B,eAAe;GAClB;IAED,mBAAmB,EAAE,MAAM,CAAA;;;MAGvB,eAAe;GAClB;IAED,wBAAwB,EAAE,MAAM,CAAA;;;MAG5B,eAAe;GAClB;IAED,cAAc,EAAE,MAAM,CAAA
|
|
1
|
+
{"version":3,"file":"default-config.js","sourceRoot":"","sources":["../../../src/config/default-config.ts"],"names":[],"mappings":"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"}
|
|
@@ -13,7 +13,7 @@ export const paramDescriptions = {
|
|
|
13
13
|
`Docs urls like https://dev.wix.com/docs/... are not API urls, if you want to read the docs, use the "ReadFullDocsArticle" tool`
|
|
14
14
|
].join('\n'),
|
|
15
15
|
method: 'The HTTP method to use for the API call (e.g. GET, POST, PUT, DELETE)',
|
|
16
|
-
body: 'The request body object. YOU MUST NEVER MAKE UP A BODY - the body should be based on the conversation context, i.e from the user prompt OR got into the conversation context by the "ReadFullDocsArticle" tool OR by the "ReadFullDocsMethodSchema" tool - i.e based on the API docs, a relevant recipe you read (preferably), a code example you found in the docs, a schema you read etc.. YOU MUST NEVER ASSUME YOU KNOW WHAT THE BODY SCHEMA IS WITHOUT CONCRETE EXAMPLES OR SCHEMA DEFINITIONS FROM THE CONVERSATION CONTEXT. Prefer reading relevant recipes if you have them in context for understand the body schema for API calls.',
|
|
16
|
+
body: 'The request body as a JSON object with all the required fields and values, including nested objects. Pass the actual object, NOT a JSON string. YOU MUST NEVER MAKE UP A BODY - the body should be based on the conversation context, i.e from the user prompt OR got into the conversation context by the "ReadFullDocsArticle" tool OR by the "ReadFullDocsMethodSchema" tool - i.e based on the API docs, a relevant recipe you read (preferably), a code example you found in the docs, a schema you read etc.. YOU MUST NEVER ASSUME YOU KNOW WHAT THE BODY SCHEMA IS WITHOUT CONCRETE EXAMPLES OR SCHEMA DEFINITIONS FROM THE CONVERSATION CONTEXT. Prefer reading relevant recipes if you have them in context for understand the body schema for API calls.',
|
|
17
17
|
reason: 'One sentence explaining the original user request and why you are calling this API to complete it.',
|
|
18
18
|
sourceDocUrl: [
|
|
19
19
|
'The URL of the documentation or recipe where you found this API endpoint.',
|
|
@@ -31,7 +31,7 @@ export const paramDescriptions = {
|
|
|
31
31
|
ManageWixSite: {
|
|
32
32
|
url: 'The url of the api to call - ALWAYS get the information from the Wix REST docs DONT GUESS IT, the URL MUST BE ABSOLUTE URL',
|
|
33
33
|
method: 'The HTTP method to use for the API call (e.g. GET, POST, PUT, DELETE)',
|
|
34
|
-
body: 'The request body object. YOU MUST NEVER MAKE UP A BODY - this should be based on the conversation context, i.e from the user prompt or from the "WixREADME" tool or from the "SearchWixRESTDocumentation" tool or from the "BrowseWixRESTDocsMenu" tool or from the "ReadFullDocsArticle" tool or from the "ReadFullDocsMethodSchema" tool - i.e based on the API docs. YOU MUST NEVER ASSUME YOU KNOW WHAT THE SCHEMA IS WITHOUT CONCRETE EXAMPLES OR SCHEMA DEFINITIONS FROM THE CONVERSATION CONTEXT.'
|
|
34
|
+
body: 'The request body as a JSON object with all the required fields and values, including nested objects. Pass the actual object, NOT a JSON string. YOU MUST NEVER MAKE UP A BODY - this should be based on the conversation context, i.e from the user prompt or from the "WixREADME" tool or from the "SearchWixRESTDocumentation" tool or from the "BrowseWixRESTDocsMenu" tool or from the "ReadFullDocsArticle" tool or from the "ReadFullDocsMethodSchema" tool - i.e based on the API docs. YOU MUST NEVER ASSUME YOU KNOW WHAT THE SCHEMA IS WITHOUT CONCRETE EXAMPLES OR SCHEMA DEFINITIONS FROM THE CONVERSATION CONTEXT.'
|
|
35
35
|
},
|
|
36
36
|
SearchWixWDSDocumentation: {
|
|
37
37
|
searchTerm: 'The search term to search for in the Wix Design System Documentation',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"param-descriptions.js","sourceRoot":"","sources":["../../../src/config/param-descriptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,cAAc,EAAE;QACd,MAAM,EAAE,uDAAuD;QAC/D,GAAG,EAAE;YACH,2IAA2I;YAC3I,2PAA2P;YAC3P,yBAAyB,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YACvD,gIAAgI;SACjI,CAAC,IAAI,CAAC,IAAI,CAAC;QACZ,MAAM,EACJ,uEAAuE;QACzE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"param-descriptions.js","sourceRoot":"","sources":["../../../src/config/param-descriptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,cAAc,EAAE;QACd,MAAM,EAAE,uDAAuD;QAC/D,GAAG,EAAE;YACH,2IAA2I;YAC3I,2PAA2P;YAC3P,yBAAyB,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YACvD,gIAAgI;SACjI,CAAC,IAAI,CAAC,IAAI,CAAC;QACZ,MAAM,EACJ,uEAAuE;QACzE,IAAI,EAAE,quBAAquB;QAC3uB,MAAM,EACJ,oGAAoG;QACtG,YAAY,EAAE;YACZ,2EAA2E;YAC3E,6EAA6E;YAC7E,2BAA2B;YAC3B,qDAAqD;YACrD,iDAAiD;YACjD,iEAAiE;YACjE,0DAA0D;SAC3D,CAAC,IAAI,CAAC,IAAI,CAAC;KACb;IAED,YAAY,EAAE;QACZ,UAAU,EACR,oEAAoE;KACvE;IAED,aAAa,EAAE;QACb,GAAG,EAAE,4HAA4H;QACjI,MAAM,EACJ,uEAAuE;QACzE,IAAI,EAAE,imBAAimB;KACxmB;IAED,yBAAyB,EAAE;QACzB,UAAU,EACR,sEAAsE;QACxE,UAAU,EACR,kEAAkE;KACrE;IAED,0BAA0B,EAAE;QAC1B,UAAU,EACR,iEAAiE;QACnE,UAAU,EACR,kEAAkE;QACpE,MAAM,EACJ,+GAA+G;KAClH;IAED,6BAA6B,EAAE;QAC7B,UAAU,EACR,4EAA4E;QAC9E,UAAU,EACR,kEAAkE;KACrE;IAED,yBAAyB,EAAE;QACzB,UAAU,EAAE,4DAA4D;QACxE,UAAU,EACR,kEAAkE;KACrE;IAED,4BAA4B,EAAE;QAC5B,UAAU,EAAE,+DAA+D;QAC3E,UAAU,EACR,kEAAkE;KACrE;IAED,8BAA8B,EAAE;QAC9B,UAAU,EAAE,6DAA6D;QACzE,UAAU,EACR,kEAAkE;KACrE;IAED,0BAA0B,EAAE;QAC1B,UAAU,EAAE,yDAAyD;QACrE,UAAU,EACR,kEAAkE;KACrE;IAED,mBAAmB,EAAE;QACnB,UAAU,EACR,uHAAuH;KAC1H;IAED,wBAAwB,EAAE;QACxB,UAAU,EACR,sGAAsG;QACxG,MAAM,EACJ,uLAAuL;KAC1L;IAED,qBAAqB,EAAE;QACrB,OAAO,EAAE;YACP,iEAAiE;YACjE,6DAA6D;YAC7D,2HAA2H;SAC5H,CAAC,IAAI,CAAC,GAAG,CAAC;QACX,MAAM,EACJ,wGAAwG;KAC3G;IAED,oBAAoB,EAAE;QACpB,MAAM,EAAE,qCAAqC;QAC7C,KAAK,EAAE,qCAAqC;QAC5C,WAAW,EACT,mGAAmG;KACtG;IAED,gBAAgB,EAAE;QAChB,OAAO,EAAE,yDAAyD;QAClE,aAAa,EACX,iGAAiG;QACnG,aAAa,EACX,6HAA6H;QAC/H,YAAY,EACV,0FAA0F;QAC5F,OAAO,EACL,qNAAqN;KACxN;CACF,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,CAClB,QAAW,EACoB,EAAE,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC"}
|
package/build/esm/index.js
CHANGED
|
@@ -29217,7 +29217,8 @@ var defaultToolDescriptions = {
|
|
|
29217
29217
|
${SYSTEM_REMINDER}
|
|
29218
29218
|
`,
|
|
29219
29219
|
CallWixSiteAPI: dedent_default`
|
|
29220
|
-
Call Wix apis on a business or site. Use this to create, read, update, and delete data and other Wix entities in your Wix site
|
|
29220
|
+
Call Wix apis on a business or site. Use this to create, read, update, and delete data and other Wix entities in your Wix site.
|
|
29221
|
+
For POST/PATCH/PUT requests, pass the request body as a JSON object in the "body" parameter with all the required fields and values as described in the API schema, code examples, or docs you retrieved (e.g. body: {"name": "value", "nested": {"key": "value"}}).
|
|
29221
29222
|
The API endpoint url param MUST ALWAYS be taken from the conversation context.
|
|
29222
29223
|
By conversation context we mean the endpoint url was given in the user prompt OR got into the conversation context by the "WixREADME" tool OR by the "SearchWixRESTDocumentation" tool OR by the "BrowseWixRESTDocsMenu" tool OR by the "ReadFullDocsArticle" tool.
|
|
29223
29224
|
Error Handling:
|
|
@@ -29234,6 +29235,7 @@ var defaultToolDescriptions = {
|
|
|
29234
29235
|
`,
|
|
29235
29236
|
ManageWixSite: dedent_default`
|
|
29236
29237
|
Use account level API in order to create a site, update a site and publish site.
|
|
29238
|
+
For POST/PATCH/PUT requests, pass the request body as a JSON object in the "body" parameter with all the required fields and values as described in the API schema, code examples, or docs you retrieved (e.g. body: {"name": "value", "nested": {"key": "value"}}).
|
|
29237
29239
|
The API endpoint url param MUST ALWAYS be taken from the conversation context.
|
|
29238
29240
|
By conversation context we mean the endpoint url was given in the user prompt or got into the conversation context by the "WixREADME" tool or by the "SearchWixRESTDocumentation" tool or by the "BrowseWixRESTDocsMenu" tool or by the "ReadFullDocsArticle" tool.
|
|
29239
29241
|
${SYSTEM_REMINDER}
|
|
@@ -29628,7 +29630,7 @@ var paramDescriptions = {
|
|
|
29628
29630
|
`Docs urls like https://dev.wix.com/docs/... are not API urls, if you want to read the docs, use the "ReadFullDocsArticle" tool`
|
|
29629
29631
|
].join("\n"),
|
|
29630
29632
|
method: "The HTTP method to use for the API call (e.g. GET, POST, PUT, DELETE)",
|
|
29631
|
-
body: 'The request body object. YOU MUST NEVER MAKE UP A BODY - the body should be based on the conversation context, i.e from the user prompt OR got into the conversation context by the "ReadFullDocsArticle" tool OR by the "ReadFullDocsMethodSchema" tool - i.e based on the API docs, a relevant recipe you read (preferably), a code example you found in the docs, a schema you read etc.. YOU MUST NEVER ASSUME YOU KNOW WHAT THE BODY SCHEMA IS WITHOUT CONCRETE EXAMPLES OR SCHEMA DEFINITIONS FROM THE CONVERSATION CONTEXT. Prefer reading relevant recipes if you have them in context for understand the body schema for API calls.',
|
|
29633
|
+
body: 'The request body as a JSON object with all the required fields and values, including nested objects. Pass the actual object, NOT a JSON string. YOU MUST NEVER MAKE UP A BODY - the body should be based on the conversation context, i.e from the user prompt OR got into the conversation context by the "ReadFullDocsArticle" tool OR by the "ReadFullDocsMethodSchema" tool - i.e based on the API docs, a relevant recipe you read (preferably), a code example you found in the docs, a schema you read etc.. YOU MUST NEVER ASSUME YOU KNOW WHAT THE BODY SCHEMA IS WITHOUT CONCRETE EXAMPLES OR SCHEMA DEFINITIONS FROM THE CONVERSATION CONTEXT. Prefer reading relevant recipes if you have them in context for understand the body schema for API calls.',
|
|
29632
29634
|
reason: "One sentence explaining the original user request and why you are calling this API to complete it.",
|
|
29633
29635
|
sourceDocUrl: [
|
|
29634
29636
|
"The URL of the documentation or recipe where you found this API endpoint.",
|
|
@@ -29646,7 +29648,7 @@ var paramDescriptions = {
|
|
|
29646
29648
|
ManageWixSite: {
|
|
29647
29649
|
url: "The url of the api to call - ALWAYS get the information from the Wix REST docs DONT GUESS IT, the URL MUST BE ABSOLUTE URL",
|
|
29648
29650
|
method: "The HTTP method to use for the API call (e.g. GET, POST, PUT, DELETE)",
|
|
29649
|
-
body: 'The request body object. YOU MUST NEVER MAKE UP A BODY - this should be based on the conversation context, i.e from the user prompt or from the "WixREADME" tool or from the "SearchWixRESTDocumentation" tool or from the "BrowseWixRESTDocsMenu" tool or from the "ReadFullDocsArticle" tool or from the "ReadFullDocsMethodSchema" tool - i.e based on the API docs. YOU MUST NEVER ASSUME YOU KNOW WHAT THE SCHEMA IS WITHOUT CONCRETE EXAMPLES OR SCHEMA DEFINITIONS FROM THE CONVERSATION CONTEXT.'
|
|
29651
|
+
body: 'The request body as a JSON object with all the required fields and values, including nested objects. Pass the actual object, NOT a JSON string. YOU MUST NEVER MAKE UP A BODY - this should be based on the conversation context, i.e from the user prompt or from the "WixREADME" tool or from the "SearchWixRESTDocumentation" tool or from the "BrowseWixRESTDocsMenu" tool or from the "ReadFullDocsArticle" tool or from the "ReadFullDocsMethodSchema" tool - i.e based on the API docs. YOU MUST NEVER ASSUME YOU KNOW WHAT THE SCHEMA IS WITHOUT CONCRETE EXAMPLES OR SCHEMA DEFINITIONS FROM THE CONVERSATION CONTEXT.'
|
|
29650
29652
|
},
|
|
29651
29653
|
SearchWixWDSDocumentation: {
|
|
29652
29654
|
searchTerm: "The search term to search for in the Wix Design System Documentation",
|