filecheck-mcp 0.3.2 → 0.3.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.
package/dist/index.cjs CHANGED
@@ -1262,7 +1262,7 @@ function registerSetupTools(server, { client }) {
1262
1262
  "list_product_maps",
1263
1263
  {
1264
1264
  title: "List product mappings",
1265
- description: "Every product in the merchant's store that opens a workflow, and which. The storefront Element runs that workflow on the product page.",
1265
+ description: "Every product in the merchant's Shopify store that opens a workflow, and which. The storefront Element runs that workflow on the product page.",
1266
1266
  inputSchema: {},
1267
1267
  annotations: { title: "List product mappings", ...READ }
1268
1268
  },
@@ -1279,7 +1279,7 @@ function registerSetupTools(server, { client }) {
1279
1279
  "find_store_products",
1280
1280
  {
1281
1281
  title: "Find the store's products",
1282
- description: "Reads products from the merchant's connected Shopify store, each with the workflow it is mapped to. Other carts answer cart_not_supported: ask the merchant for the product id instead.",
1282
+ description: "Reads products from the merchant's connected Shopify store, each with the workflow it is mapped to. Other carts answer cart_not_supported: on WooCommerce, PrestaShop and OpenCart the merchant picks a product's workflow in the Filecheck plugin's product settings, so tell them which workflow to pick there instead of mapping it.",
1283
1283
  inputSchema: {
1284
1284
  search: zod.z.string().optional().describe("Words in the product title. Omit for the most recent."),
1285
1285
  cursor: zod.z.string().optional().describe("nextCursor from the previous page.")
@@ -1302,7 +1302,7 @@ function registerSetupTools(server, { client }) {
1302
1302
  "map_product",
1303
1303
  {
1304
1304
  title: "Map a product to a workflow",
1305
- description: "set: the product opens this workflow on its page from now on (customers see it at once: ask first). The workflow must be published. remove: the product stops opening a workflow. Read setup_reference product-map for the record's other fields.",
1305
+ description: "Shopify stores only: on WooCommerce, PrestaShop and OpenCart the merchant picks a product's workflow in the Filecheck plugin's product settings, and a mapping has no effect there, so tell the merchant which workflow to pick instead. set: the product opens this workflow on its page from now on (customers see it at once: ask first). The workflow must be published. remove: the product stops opening a workflow. Read setup_reference product-map for the record's other fields.",
1306
1306
  inputSchema: {
1307
1307
  action: zod.z.enum(["set", "remove"]),
1308
1308
  productId: zod.z.string().describe("The product's id in the store (Shopify: the numeric id)."),
@@ -1533,7 +1533,7 @@ function registerValidatePdf(server, { client, caps }) {
1533
1533
  }
1534
1534
 
1535
1535
  // src/version.ts
1536
- var VERSION = "0.3.2";
1536
+ var VERSION = "0.3.3";
1537
1537
 
1538
1538
  // src/server.ts
1539
1539
  var INSTRUCTIONS = `Filecheck checks print files (PDF, images) for print-readiness, fixes what it can automatically, validates PDF/A / PDF/UA conformance, optimizes, and renders previews.
@@ -1548,11 +1548,11 @@ If a tool returns pending:true, poll get_job with the returned jobId. Never resu
1548
1548
  Typical flow: check_file \u2192 (findings autofixable?) fix_file \u2192 download/save deliverables. Discover profiles and rules with list_catalog.
1549
1549
 
1550
1550
  Setting up a product (which files it accepts, how they are checked and fixed, where finished files go) \u2014 check in with the merchant at each step, in plain words:
1551
- 1. The product: find_store_products (Shopify) or ask for its id; list_product_maps shows what is mapped already.
1551
+ 1. The product: find_store_products and list_product_maps (Shopify). On WooCommerce, PrestaShop and OpenCart the merchant picks a product's workflow in the Filecheck plugin's product settings: there, skip mapping and tell them the workflow's name. A connector is chosen per product in those plugin settings too, never on a workflow.
1552
1552
  2. What exists: list_catalog workflows, rules and profiles. Prefer a built-in (source:'store') one that fits: manage_catalog update on it saves the account's own copy (revert undoes it).
1553
1553
  3. Before writing a record, read its schema with setup_reference. manage_catalog create saves drafts by default; build bottom-up: profile \u2192 rule (its accept entries name the profiles) \u2192 workflow (intake.ruleId, delivery.destinationIds). dryRun: true validates without saving.
1554
1554
  4. Try the draft on a real file: check_file with workflowId (or ruleId). Fix what the result shows.
1555
- 5. Ask before anything customers see: manage_catalog publish (the workflow publishes the drafts it points at), then map_product set, and update_settings.
1555
+ 5. Ask before anything customers see: manage_catalog publish (the workflow publishes the drafts it points at), then map_product set (Shopify), and update_settings.
1556
1556
  Delivery: manage_destination create, then test_destination \u2014 it really writes a sample file into the shop's hotfolder or sends mail, so ask first. Secrets read back as ********.
1557
1557
  Setup errors name the field at fault (param) and list every problem (details): fix those and retry.`;
1558
1558
  function createFilecheckMcp({ client, capabilities }) {