@productmaker/mcp 11.5.1 → 11.5.2
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 +31 -5
- package/dist/stdio.js +31 -5
- package/package.json +1 -1
package/dist/http.js
CHANGED
|
@@ -13275,9 +13275,16 @@ var MetaTrackingOwnerSchema = z66.enum([
|
|
|
13275
13275
|
var MetaTrackingPixelSchema = z66.object({
|
|
13276
13276
|
pixelId: z66.string().regex(/^[1-9]\d{0,31}$/),
|
|
13277
13277
|
initiateCheckout: MetaTrackingOwnerSchema,
|
|
13278
|
-
addToCart: MetaTrackingOwnerSchema
|
|
13278
|
+
addToCart: MetaTrackingOwnerSchema,
|
|
13279
|
+
/** Explicit adoption of an existing, server-verified manual installation. */
|
|
13280
|
+
bootstrap: z66.enum([
|
|
13281
|
+
"productmaker",
|
|
13282
|
+
"external"
|
|
13283
|
+
]).optional(),
|
|
13284
|
+
pageView: MetaTrackingOwnerSchema.optional(),
|
|
13285
|
+
viewContent: MetaTrackingOwnerSchema.optional()
|
|
13279
13286
|
}).strict();
|
|
13280
|
-
|
|
13287
|
+
function validateMetaTrackingPixelCollection(pixels, ctx) {
|
|
13281
13288
|
if (new Set(pixels.map((pixel) => pixel.pixelId)).size !== pixels.length) {
|
|
13282
13289
|
ctx.addIssue({
|
|
13283
13290
|
code: z66.ZodIssueCode.custom,
|
|
@@ -13290,12 +13297,29 @@ var pixelsSchema = z66.array(MetaTrackingPixelSchema).max(20).superRefine((pixel
|
|
|
13290
13297
|
message: "Policy exceeds 8 KiB"
|
|
13291
13298
|
});
|
|
13292
13299
|
}
|
|
13293
|
-
}
|
|
13300
|
+
}
|
|
13301
|
+
__name(validateMetaTrackingPixelCollection, "validateMetaTrackingPixelCollection");
|
|
13302
|
+
var pixelsSchema = z66.array(MetaTrackingPixelSchema).max(20).superRefine(validateMetaTrackingPixelCollection);
|
|
13294
13303
|
var MetaTrackingPolicySchema = z66.object({
|
|
13295
13304
|
schemaVersion: z66.literal(1),
|
|
13296
13305
|
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13297
13306
|
pixels: pixelsSchema
|
|
13298
13307
|
}).strict();
|
|
13308
|
+
var MetaTrackingPolicyV1PixelSchema = MetaTrackingPixelSchema.omit({
|
|
13309
|
+
bootstrap: true,
|
|
13310
|
+
pageView: true,
|
|
13311
|
+
viewContent: true
|
|
13312
|
+
});
|
|
13313
|
+
var MetaTrackingPolicyV1ProjectionSchema = z66.object({
|
|
13314
|
+
schemaVersion: z66.literal(1),
|
|
13315
|
+
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13316
|
+
pixels: z66.array(MetaTrackingPolicyV1PixelSchema).max(20).superRefine(validateMetaTrackingPixelCollection)
|
|
13317
|
+
}).strict();
|
|
13318
|
+
var MetaTrackingPolicyV2Schema = z66.object({
|
|
13319
|
+
schemaVersion: z66.literal(2),
|
|
13320
|
+
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13321
|
+
pixels: pixelsSchema
|
|
13322
|
+
}).strict();
|
|
13299
13323
|
var MetaTrackingUpdateSchema = z66.object({
|
|
13300
13324
|
pixels: pixelsSchema,
|
|
13301
13325
|
expectedDigest: z66.string().min(1).max(256).nullable()
|
|
@@ -22210,7 +22234,9 @@ var WebsiteCaptureResponseSchema = z109.object({
|
|
|
22210
22234
|
var WebsiteCaptureJobSchema = WebsiteCaptureRequestSchema.extend({
|
|
22211
22235
|
captureId: z109.string().uuid(),
|
|
22212
22236
|
attempt: z109.number().int().positive(),
|
|
22213
|
-
leaseUntil: z109.string().datetime()
|
|
22237
|
+
leaseUntil: z109.string().datetime(),
|
|
22238
|
+
/** Public profile document prepared by the API; never contains a provider credential. */
|
|
22239
|
+
socialProfileHtml: z109.string().max(2e5).optional()
|
|
22214
22240
|
});
|
|
22215
22241
|
var WebsiteCaptureClaimResponseSchema = z109.object({
|
|
22216
22242
|
capture: WebsiteCaptureJobSchema.nullable()
|
|
@@ -24158,7 +24184,7 @@ var ApiClient = class {
|
|
|
24158
24184
|
};
|
|
24159
24185
|
|
|
24160
24186
|
// src/index.ts
|
|
24161
|
-
var MCP_VERSION = "11.5.
|
|
24187
|
+
var MCP_VERSION = "11.5.2";
|
|
24162
24188
|
|
|
24163
24189
|
// src/meta-upload-app.ts
|
|
24164
24190
|
import { readFileSync } from "fs";
|
package/dist/stdio.js
CHANGED
|
@@ -13297,9 +13297,16 @@ var MetaTrackingOwnerSchema = z66.enum([
|
|
|
13297
13297
|
var MetaTrackingPixelSchema = z66.object({
|
|
13298
13298
|
pixelId: z66.string().regex(/^[1-9]\d{0,31}$/),
|
|
13299
13299
|
initiateCheckout: MetaTrackingOwnerSchema,
|
|
13300
|
-
addToCart: MetaTrackingOwnerSchema
|
|
13300
|
+
addToCart: MetaTrackingOwnerSchema,
|
|
13301
|
+
/** Explicit adoption of an existing, server-verified manual installation. */
|
|
13302
|
+
bootstrap: z66.enum([
|
|
13303
|
+
"productmaker",
|
|
13304
|
+
"external"
|
|
13305
|
+
]).optional(),
|
|
13306
|
+
pageView: MetaTrackingOwnerSchema.optional(),
|
|
13307
|
+
viewContent: MetaTrackingOwnerSchema.optional()
|
|
13301
13308
|
}).strict();
|
|
13302
|
-
|
|
13309
|
+
function validateMetaTrackingPixelCollection(pixels, ctx) {
|
|
13303
13310
|
if (new Set(pixels.map((pixel) => pixel.pixelId)).size !== pixels.length) {
|
|
13304
13311
|
ctx.addIssue({
|
|
13305
13312
|
code: z66.ZodIssueCode.custom,
|
|
@@ -13312,12 +13319,29 @@ var pixelsSchema = z66.array(MetaTrackingPixelSchema).max(20).superRefine((pixel
|
|
|
13312
13319
|
message: "Policy exceeds 8 KiB"
|
|
13313
13320
|
});
|
|
13314
13321
|
}
|
|
13315
|
-
}
|
|
13322
|
+
}
|
|
13323
|
+
__name(validateMetaTrackingPixelCollection, "validateMetaTrackingPixelCollection");
|
|
13324
|
+
var pixelsSchema = z66.array(MetaTrackingPixelSchema).max(20).superRefine(validateMetaTrackingPixelCollection);
|
|
13316
13325
|
var MetaTrackingPolicySchema = z66.object({
|
|
13317
13326
|
schemaVersion: z66.literal(1),
|
|
13318
13327
|
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13319
13328
|
pixels: pixelsSchema
|
|
13320
13329
|
}).strict();
|
|
13330
|
+
var MetaTrackingPolicyV1PixelSchema = MetaTrackingPixelSchema.omit({
|
|
13331
|
+
bootstrap: true,
|
|
13332
|
+
pageView: true,
|
|
13333
|
+
viewContent: true
|
|
13334
|
+
});
|
|
13335
|
+
var MetaTrackingPolicyV1ProjectionSchema = z66.object({
|
|
13336
|
+
schemaVersion: z66.literal(1),
|
|
13337
|
+
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13338
|
+
pixels: z66.array(MetaTrackingPolicyV1PixelSchema).max(20).superRefine(validateMetaTrackingPixelCollection)
|
|
13339
|
+
}).strict();
|
|
13340
|
+
var MetaTrackingPolicyV2Schema = z66.object({
|
|
13341
|
+
schemaVersion: z66.literal(2),
|
|
13342
|
+
revision: z66.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
13343
|
+
pixels: pixelsSchema
|
|
13344
|
+
}).strict();
|
|
13321
13345
|
var MetaTrackingUpdateSchema = z66.object({
|
|
13322
13346
|
pixels: pixelsSchema,
|
|
13323
13347
|
expectedDigest: z66.string().min(1).max(256).nullable()
|
|
@@ -21978,7 +22002,9 @@ var WebsiteCaptureResponseSchema = z109.object({
|
|
|
21978
22002
|
var WebsiteCaptureJobSchema = WebsiteCaptureRequestSchema.extend({
|
|
21979
22003
|
captureId: z109.string().uuid(),
|
|
21980
22004
|
attempt: z109.number().int().positive(),
|
|
21981
|
-
leaseUntil: z109.string().datetime()
|
|
22005
|
+
leaseUntil: z109.string().datetime(),
|
|
22006
|
+
/** Public profile document prepared by the API; never contains a provider credential. */
|
|
22007
|
+
socialProfileHtml: z109.string().max(2e5).optional()
|
|
21982
22008
|
});
|
|
21983
22009
|
var WebsiteCaptureClaimResponseSchema = z109.object({
|
|
21984
22010
|
capture: WebsiteCaptureJobSchema.nullable()
|
|
@@ -22487,7 +22513,7 @@ var ApiClient = class {
|
|
|
22487
22513
|
};
|
|
22488
22514
|
|
|
22489
22515
|
// src/index.ts
|
|
22490
|
-
var MCP_VERSION = "11.5.
|
|
22516
|
+
var MCP_VERSION = "11.5.2";
|
|
22491
22517
|
|
|
22492
22518
|
// src/meta-upload-app.ts
|
|
22493
22519
|
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.2",
|
|
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.",
|