@productmaker/mcp 3.0.2 → 3.1.1
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/README.md +45 -21
- package/dist/http.js +6079 -3448
- package/dist/stdio.js +3696 -2330
- package/dist/ui/meta-upload-app.html +10 -2
- package/package.json +3 -1
|
@@ -2273,19 +2273,27 @@
|
|
|
2273
2273
|
status.status === "pending" ||
|
|
2274
2274
|
(state.items.length > 0 &&
|
|
2275
2275
|
status.assets.length < state.items.length);
|
|
2276
|
+
const canContinueInChat = canMessageHost();
|
|
2276
2277
|
if (partial) {
|
|
2277
2278
|
requireFallback(
|
|
2278
2279
|
"Carga parcial verificada. Puedes continuar desde el enlace seguro si algún archivo no terminó.",
|
|
2279
2280
|
"warning",
|
|
2280
2281
|
);
|
|
2282
|
+
} else if (!canContinueInChat) {
|
|
2283
|
+
requireFallback(
|
|
2284
|
+
"Carga completada. Este chat no puede continuar desde el widget. Abre el enlace seguro para seguir.",
|
|
2285
|
+
"warning",
|
|
2286
|
+
);
|
|
2281
2287
|
} else {
|
|
2282
2288
|
setFallbackVisibility(state.fallbackRequired);
|
|
2283
2289
|
}
|
|
2284
2290
|
setSessionStatus(
|
|
2285
2291
|
partial
|
|
2286
2292
|
? "Carga parcial verificada. Continuaremos solo con los assets listos."
|
|
2287
|
-
:
|
|
2288
|
-
|
|
2293
|
+
: canContinueInChat
|
|
2294
|
+
? "Carga completada."
|
|
2295
|
+
: "Carga completada. Abre el enlace seguro para seguir.",
|
|
2296
|
+
partial || !canContinueInChat ? "warning" : "success",
|
|
2289
2297
|
);
|
|
2290
2298
|
} catch (error) {
|
|
2291
2299
|
const expired =
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@productmaker/mcp",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Product Maker MCP server — cost products, generate dropshipping landing pages, UGC videos, and ad creatives, and publish to Shopify and Meta Ads from Claude, ChatGPT, or Gemini.",
|
|
@@ -53,7 +53,9 @@
|
|
|
53
53
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
54
54
|
"express": "^4.19.2",
|
|
55
55
|
"express-rate-limit": "^7.4.0",
|
|
56
|
+
"jose": "^5.2.0",
|
|
56
57
|
"pino": "^9.0.0",
|
|
58
|
+
"posthog-node": "^5.24.11",
|
|
57
59
|
"zod": "^3.23.8"
|
|
58
60
|
},
|
|
59
61
|
"devDependencies": {
|