@wix/mcp 1.0.79 → 1.0.80

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.
@@ -71560,7 +71560,7 @@ var DISCOVERY_FLOWS = [
71560
71560
  "- METHOD CODE EXAMPLE BASED: BrowseWixRESTDocsMenu() or SearchWixRESTDocumentation() -> find relevant method -> read method article using ReadFullDocsArticle() to get method code examples -> call API using CallWixSiteAPI() based on the method code examples",
71561
71561
  "- FULL SCHEMA BASED: BrowseWixRESTDocsMenu() or SearchWixRESTDocumentation() -> find relevant method -> read method article using ReadFullDocsArticle() -> no method code examples found -> inspect the method schema using SearchWixAPISpec or ReadFullDocsMethodSchema -> call API using CallWixSiteAPI() based on the schema"
71562
71562
  ];
71563
- function buildSystemReminderGuidelines(includeReadme) {
71563
+ function buildSystemReminderGuidelines(includeReadme, includeImageUploadGuidance) {
71564
71564
  const exception = includeReadme ? "**Exception:** " : "";
71565
71565
  const lines = [];
71566
71566
  if (includeReadme) {
@@ -71572,9 +71572,13 @@ function buildSystemReminderGuidelines(includeReadme) {
71572
71572
  );
71573
71573
  }
71574
71574
  lines.push(
71575
- `${exception}If the user asks to list, show, or find their Wix sites, ${includeReadme ? "skip WixREADME and " : ""}call ListWixSites directly.`,
71576
- `${exception}If the user wants to upload local or attached image files to a Wix site, skip ${includeReadme ? "WixREADME and " : ""}all docs/schema/API flows \u2014 call UploadImageToWixSite directly. Do NOT use ExecuteWixAPI, SearchWixAPISpec, or any Media Manager REST API for image uploads.`
71575
+ `${exception}If the user asks to list, show, or find their Wix sites, ${includeReadme ? "skip WixREADME and " : ""}call ListWixSites directly.`
71577
71576
  );
71577
+ if (includeImageUploadGuidance) {
71578
+ lines.push(
71579
+ `${exception}If the user wants to upload local or attached image files to a Wix site, skip ${includeReadme ? "WixREADME and " : ""}all docs/schema/API flows \u2014 call UploadImageToWixSite directly. Do NOT use ExecuteWixAPI, SearchWixAPISpec, or any Media Manager REST API for image uploads.`
71580
+ );
71581
+ }
71578
71582
  if (includeReadme) {
71579
71583
  lines.push(
71580
71584
  "If the WixREADME tool is not available to you, you should use the other flows as described without using the WixREADME tool until the task is completed."
@@ -71601,9 +71605,15 @@ function buildSystemReminderFlows(includeReadme) {
71601
71605
  lines.push(...DISCOVERY_FLOWS);
71602
71606
  return lines.join("\n");
71603
71607
  }
71604
- var SYSTEM_REMINDER_GUIDELINES = buildSystemReminderGuidelines(true);
71605
- function buildSystemReminder(includeReadme) {
71606
- const guidelines = buildSystemReminderGuidelines(includeReadme);
71608
+ var SYSTEM_REMINDER_GUIDELINES = buildSystemReminderGuidelines(
71609
+ true,
71610
+ true
71611
+ );
71612
+ function buildSystemReminder(includeReadme, includeImageUploadGuidance = true) {
71613
+ const guidelines = buildSystemReminderGuidelines(
71614
+ includeReadme,
71615
+ includeImageUploadGuidance
71616
+ );
71607
71617
  const flows = buildSystemReminderFlows(includeReadme);
71608
71618
  return dedent_default`
71609
71619
  <agent-mandatory-instructions>
@@ -71814,8 +71824,11 @@ var executeWixApiDescription = dedent_default`
71814
71824
 
71815
71825
  ${EXECUTE_WIX_API_MULTI_SITE_EXAMPLE}
71816
71826
  `;
71817
- function buildToolDescriptions(includeReadme) {
71818
- const reminder = buildSystemReminder(includeReadme);
71827
+ function buildToolDescriptions(includeReadme, includeImageUploadGuidance = true) {
71828
+ const reminder = buildSystemReminder(
71829
+ includeReadme,
71830
+ includeImageUploadGuidance
71831
+ );
71819
71832
  return {
71820
71833
  WixREADME: dedent_default`
71821
71834
  # Tool: WixREADME
@@ -71866,6 +71879,7 @@ function buildToolDescriptions(includeReadme) {
71866
71879
  **Prefer this tool over CallWixSiteAPI for listing sites.** Call this tool directly — it already knows the correct API and handles everything needed. Only fall back to CallWixSiteAPI if the user needs advanced filtering or specific site details beyond what this tool provides.
71867
71880
  ${reminder}
71868
71881
  `,
71882
+ get_profile: "Returns the authenticated user's email address",
71869
71883
  GetSiteContext: dedent_default`
71870
71884
  Fetches deep context for a specific Wix site and returns it as structured markdown.
71871
71885