@productmaker/mcp 11.5.1 → 11.5.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/http.js +33 -5
- package/dist/stdio.js +33 -5
- package/package.json +1 -1
package/dist/http.js
CHANGED
|
@@ -8408,6 +8408,8 @@ var PersonaSuggestEstimationOptions = z40.object({}).strict();
|
|
|
8408
8408
|
var ChatParseEstimationOptions = z40.object({}).strict();
|
|
8409
8409
|
var CodeLandingEditEstimationOptions = z40.object({}).strict();
|
|
8410
8410
|
var ServiceCreativeEstimationOptions = z40.object({
|
|
8411
|
+
/** Public source URL; reserves optional social-photo/reel understanding. */
|
|
8412
|
+
sourceUrl: z40.string().url().optional(),
|
|
8411
8413
|
mediaAssetCount: z40.number().int().min(0).max(8).optional(),
|
|
8412
8414
|
uploadedVideoDurationSeconds: z40.number().min(0).max(240).optional(),
|
|
8413
8415
|
/** Quality the panels render at (its registry model sets the per-second
|
|
@@ -13275,9 +13277,16 @@ var MetaTrackingOwnerSchema = z66.enum([
|
|
|
13275
13277
|
var MetaTrackingPixelSchema = z66.object({
|
|
13276
13278
|
pixelId: z66.string().regex(/^[1-9]\d{0,31}$/),
|
|
13277
13279
|
initiateCheckout: MetaTrackingOwnerSchema,
|
|
13278
|
-
addToCart: MetaTrackingOwnerSchema
|
|
13280
|
+
addToCart: MetaTrackingOwnerSchema,
|
|
13281
|
+
/** Explicit adoption of an existing, server-verified manual installation. */
|
|
13282
|
+
bootstrap: z66.enum([
|
|
13283
|
+
"productmaker",
|
|
13284
|
+
"external"
|
|
13285
|
+
]).optional(),
|
|
13286
|
+
pageView: MetaTrackingOwnerSchema.optional(),
|
|
13287
|
+
viewContent: MetaTrackingOwnerSchema.optional()
|
|
13279
13288
|
}).strict();
|
|
13280
|
-
|
|
13289
|
+
function validateMetaTrackingPixelCollection(pixels, ctx) {
|
|
13281
13290
|
if (new Set(pixels.map((pixel) => pixel.pixelId)).size !== pixels.length) {
|
|
13282
13291
|
ctx.addIssue({
|
|
13283
13292
|
code: z66.ZodIssueCode.custom,
|
|
@@ -13290,12 +13299,29 @@ var pixelsSchema = z66.array(MetaTrackingPixelSchema).max(20).superRefine((pixel
|
|
|
13290
13299
|
message: "Policy exceeds 8 KiB"
|
|
13291
13300
|
});
|
|
13292
13301
|
}
|
|
13293
|
-
}
|
|
13302
|
+
}
|
|
13303
|
+
__name(validateMetaTrackingPixelCollection, "validateMetaTrackingPixelCollection");
|
|
13304
|
+
var pixelsSchema = z66.array(MetaTrackingPixelSchema).max(20).superRefine(validateMetaTrackingPixelCollection);
|
|
13294
13305
|
var MetaTrackingPolicySchema = z66.object({
|
|
13295
13306
|
schemaVersion: z66.literal(1),
|
|
13296
13307
|
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13297
13308
|
pixels: pixelsSchema
|
|
13298
13309
|
}).strict();
|
|
13310
|
+
var MetaTrackingPolicyV1PixelSchema = MetaTrackingPixelSchema.omit({
|
|
13311
|
+
bootstrap: true,
|
|
13312
|
+
pageView: true,
|
|
13313
|
+
viewContent: true
|
|
13314
|
+
});
|
|
13315
|
+
var MetaTrackingPolicyV1ProjectionSchema = z66.object({
|
|
13316
|
+
schemaVersion: z66.literal(1),
|
|
13317
|
+
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13318
|
+
pixels: z66.array(MetaTrackingPolicyV1PixelSchema).max(20).superRefine(validateMetaTrackingPixelCollection)
|
|
13319
|
+
}).strict();
|
|
13320
|
+
var MetaTrackingPolicyV2Schema = z66.object({
|
|
13321
|
+
schemaVersion: z66.literal(2),
|
|
13322
|
+
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13323
|
+
pixels: pixelsSchema
|
|
13324
|
+
}).strict();
|
|
13299
13325
|
var MetaTrackingUpdateSchema = z66.object({
|
|
13300
13326
|
pixels: pixelsSchema,
|
|
13301
13327
|
expectedDigest: z66.string().min(1).max(256).nullable()
|
|
@@ -22210,7 +22236,9 @@ var WebsiteCaptureResponseSchema = z109.object({
|
|
|
22210
22236
|
var WebsiteCaptureJobSchema = WebsiteCaptureRequestSchema.extend({
|
|
22211
22237
|
captureId: z109.string().uuid(),
|
|
22212
22238
|
attempt: z109.number().int().positive(),
|
|
22213
|
-
leaseUntil: z109.string().datetime()
|
|
22239
|
+
leaseUntil: z109.string().datetime(),
|
|
22240
|
+
/** Public profile document prepared by the API; never contains a provider credential. */
|
|
22241
|
+
socialProfileHtml: z109.string().max(2e5).optional()
|
|
22214
22242
|
});
|
|
22215
22243
|
var WebsiteCaptureClaimResponseSchema = z109.object({
|
|
22216
22244
|
capture: WebsiteCaptureJobSchema.nullable()
|
|
@@ -24158,7 +24186,7 @@ var ApiClient = class {
|
|
|
24158
24186
|
};
|
|
24159
24187
|
|
|
24160
24188
|
// src/index.ts
|
|
24161
|
-
var MCP_VERSION = "11.5.
|
|
24189
|
+
var MCP_VERSION = "11.5.3";
|
|
24162
24190
|
|
|
24163
24191
|
// src/meta-upload-app.ts
|
|
24164
24192
|
import { readFileSync } from "fs";
|
package/dist/stdio.js
CHANGED
|
@@ -8430,6 +8430,8 @@ var PersonaSuggestEstimationOptions = z40.object({}).strict();
|
|
|
8430
8430
|
var ChatParseEstimationOptions = z40.object({}).strict();
|
|
8431
8431
|
var CodeLandingEditEstimationOptions = z40.object({}).strict();
|
|
8432
8432
|
var ServiceCreativeEstimationOptions = z40.object({
|
|
8433
|
+
/** Public source URL; reserves optional social-photo/reel understanding. */
|
|
8434
|
+
sourceUrl: z40.string().url().optional(),
|
|
8433
8435
|
mediaAssetCount: z40.number().int().min(0).max(8).optional(),
|
|
8434
8436
|
uploadedVideoDurationSeconds: z40.number().min(0).max(240).optional(),
|
|
8435
8437
|
/** Quality the panels render at (its registry model sets the per-second
|
|
@@ -13297,9 +13299,16 @@ var MetaTrackingOwnerSchema = z66.enum([
|
|
|
13297
13299
|
var MetaTrackingPixelSchema = z66.object({
|
|
13298
13300
|
pixelId: z66.string().regex(/^[1-9]\d{0,31}$/),
|
|
13299
13301
|
initiateCheckout: MetaTrackingOwnerSchema,
|
|
13300
|
-
addToCart: MetaTrackingOwnerSchema
|
|
13302
|
+
addToCart: MetaTrackingOwnerSchema,
|
|
13303
|
+
/** Explicit adoption of an existing, server-verified manual installation. */
|
|
13304
|
+
bootstrap: z66.enum([
|
|
13305
|
+
"productmaker",
|
|
13306
|
+
"external"
|
|
13307
|
+
]).optional(),
|
|
13308
|
+
pageView: MetaTrackingOwnerSchema.optional(),
|
|
13309
|
+
viewContent: MetaTrackingOwnerSchema.optional()
|
|
13301
13310
|
}).strict();
|
|
13302
|
-
|
|
13311
|
+
function validateMetaTrackingPixelCollection(pixels, ctx) {
|
|
13303
13312
|
if (new Set(pixels.map((pixel) => pixel.pixelId)).size !== pixels.length) {
|
|
13304
13313
|
ctx.addIssue({
|
|
13305
13314
|
code: z66.ZodIssueCode.custom,
|
|
@@ -13312,12 +13321,29 @@ var pixelsSchema = z66.array(MetaTrackingPixelSchema).max(20).superRefine((pixel
|
|
|
13312
13321
|
message: "Policy exceeds 8 KiB"
|
|
13313
13322
|
});
|
|
13314
13323
|
}
|
|
13315
|
-
}
|
|
13324
|
+
}
|
|
13325
|
+
__name(validateMetaTrackingPixelCollection, "validateMetaTrackingPixelCollection");
|
|
13326
|
+
var pixelsSchema = z66.array(MetaTrackingPixelSchema).max(20).superRefine(validateMetaTrackingPixelCollection);
|
|
13316
13327
|
var MetaTrackingPolicySchema = z66.object({
|
|
13317
13328
|
schemaVersion: z66.literal(1),
|
|
13318
13329
|
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13319
13330
|
pixels: pixelsSchema
|
|
13320
13331
|
}).strict();
|
|
13332
|
+
var MetaTrackingPolicyV1PixelSchema = MetaTrackingPixelSchema.omit({
|
|
13333
|
+
bootstrap: true,
|
|
13334
|
+
pageView: true,
|
|
13335
|
+
viewContent: true
|
|
13336
|
+
});
|
|
13337
|
+
var MetaTrackingPolicyV1ProjectionSchema = z66.object({
|
|
13338
|
+
schemaVersion: z66.literal(1),
|
|
13339
|
+
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13340
|
+
pixels: z66.array(MetaTrackingPolicyV1PixelSchema).max(20).superRefine(validateMetaTrackingPixelCollection)
|
|
13341
|
+
}).strict();
|
|
13342
|
+
var MetaTrackingPolicyV2Schema = z66.object({
|
|
13343
|
+
schemaVersion: z66.literal(2),
|
|
13344
|
+
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13345
|
+
pixels: pixelsSchema
|
|
13346
|
+
}).strict();
|
|
13321
13347
|
var MetaTrackingUpdateSchema = z66.object({
|
|
13322
13348
|
pixels: pixelsSchema,
|
|
13323
13349
|
expectedDigest: z66.string().min(1).max(256).nullable()
|
|
@@ -21978,7 +22004,9 @@ var WebsiteCaptureResponseSchema = z109.object({
|
|
|
21978
22004
|
var WebsiteCaptureJobSchema = WebsiteCaptureRequestSchema.extend({
|
|
21979
22005
|
captureId: z109.string().uuid(),
|
|
21980
22006
|
attempt: z109.number().int().positive(),
|
|
21981
|
-
leaseUntil: z109.string().datetime()
|
|
22007
|
+
leaseUntil: z109.string().datetime(),
|
|
22008
|
+
/** Public profile document prepared by the API; never contains a provider credential. */
|
|
22009
|
+
socialProfileHtml: z109.string().max(2e5).optional()
|
|
21982
22010
|
});
|
|
21983
22011
|
var WebsiteCaptureClaimResponseSchema = z109.object({
|
|
21984
22012
|
capture: WebsiteCaptureJobSchema.nullable()
|
|
@@ -22487,7 +22515,7 @@ var ApiClient = class {
|
|
|
22487
22515
|
};
|
|
22488
22516
|
|
|
22489
22517
|
// src/index.ts
|
|
22490
|
-
var MCP_VERSION = "11.5.
|
|
22518
|
+
var MCP_VERSION = "11.5.3";
|
|
22491
22519
|
|
|
22492
22520
|
// src/meta-upload-app.ts
|
|
22493
22521
|
import { readFileSync } from "fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@productmaker/mcp",
|
|
3
|
-
"version": "11.5.
|
|
3
|
+
"version": "11.5.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "ProductMaker MCP server — cost products, generate landing pages, UGC videos, and ad creatives, and publish to Shopify, Meta Ads, and TikTok Ads.",
|