@productmaker/mcp 12.3.1 → 12.4.0

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.
Files changed (3) hide show
  1. package/dist/http.js +120 -102
  2. package/dist/stdio.js +120 -102
  3. package/package.json +1 -1
package/dist/http.js CHANGED
@@ -6106,6 +6106,11 @@ var LANDING_STRATEGIES = [
6106
6106
  "lifestyle_identity"
6107
6107
  ];
6108
6108
  var LandingStrategySchema = z14.enum(LANDING_STRATEGIES);
6109
+ var SELECTABLE_LANDING_STRATEGIES = [
6110
+ "classic",
6111
+ "social_proof"
6112
+ ];
6113
+ var SelectableLandingStrategySchema = z14.enum(SELECTABLE_LANDING_STRATEGIES);
6109
6114
  var EffectiveLandingStrategySchema = LandingStrategySchema.exclude([
6110
6115
  "auto"
6111
6116
  ]);
@@ -23203,7 +23208,8 @@ var PRODUCTMAKER_CAPABILITY_REGISTRY = deepFreeze([
23203
23208
  // MCP 8.6.0: + storyteller narrative family and animationStyle axis.
23204
23209
  // MCP 8.10.0: storyteller family blocked (BLOCKED_NARRATIVE_STYLES).
23205
23210
  // MCP 9.1.0: combine current animated-video controls and initial GIF choice.
23206
- "b44e4945c1d3d63d06ecf46295a6ac273df20e059edcf72bfb8f88149f28e12a",
23211
+ // MCP 12.4.0: landingStrategy narrowed to classic + social_proof.
23212
+ "c35f8c65762db3ea077b09f5f165e5571abea0f40250e4c096d1ef7cad7e5f7a",
23207
23213
  "credit_consuming",
23208
23214
  "creative",
23209
23215
  [
@@ -23646,105 +23652,117 @@ var PRODUCTMAKER_CAPABILITY_REGISTRY = deepFreeze([
23646
23652
  ]
23647
23653
  }
23648
23654
  ]),
23649
- defineCapability("generate_landing", "14c537cf4ccaf25277f896aa58c64aef06ef4e6cba2ae8029437a732f8df71db", "credit_consuming", "creative", [
23655
+ defineCapability(
23656
+ "generate_landing",
23657
+ // MCP 12.4.0: guided landingStrategy narrowed to classic + social_proof.
23658
+ "d3ef2376273a5a1b987c79182e63ff00a03de322e1a13e0dc69f7ffa8330536e",
23650
23659
  "credit_consuming",
23651
- "state_change"
23652
- ], [
23653
- slot("product_reference", true, [
23654
- "images",
23655
- "winnerReference"
23656
- ], [
23657
- "imageMessageIds",
23658
- "imageAssetIds",
23659
- "projectId",
23660
- "productUrl"
23661
- ]),
23662
- slot("locale", true, [
23663
- "language",
23664
- "country"
23665
- ]),
23666
- slot("initial_landing_gif", false, [
23667
- "includeInitialLandingGif"
23668
- ], []),
23669
- slot("sales_context", false, [
23670
- "salesAngle",
23671
- "buyerPersona"
23672
- ]),
23673
- slot("commercial_offer", false, [
23674
- "price",
23675
- "compareAtPrice",
23676
- "offer"
23677
- ], [
23678
- "price",
23679
- "offer",
23680
- "compareAtPrice",
23681
- "paymentMethods"
23682
- ]),
23683
- slot("product_context", false, [
23684
- "productLabel",
23685
- "isCombo"
23686
- ], [
23687
- "productContext",
23688
- "productLabel",
23689
- "isCombo"
23690
- ]),
23691
- slot("brand_direction", false, [
23692
- "brandId"
23693
- ], [
23694
- "brandId",
23695
- "creativeDirection",
23696
- "headline",
23697
- "subheadline"
23698
- ]),
23699
- slot(
23700
- "landing_options",
23701
- // Required by the direct MCP schema, optional for the WhatsApp adapter.
23702
- false,
23703
- [
23704
- "creativeSetup"
23705
- ],
23706
- [
23707
- "competitorScanEnabled",
23708
- "landingStrategy",
23709
- "landingImageFormat",
23710
- "pauseForAngleReview"
23711
- ]
23712
- )
23713
- ], [
23714
- "product_reference"
23715
- ], [
23716
- "task",
23717
- "product",
23718
- "landing"
23719
- ], SHARED_CHANNEL_EXPOSURE, [
23720
- {
23721
- slot: "product_reference",
23722
- askBeforePaidExecution: true,
23723
- explicitOmissionAllowed: false,
23724
- fieldCompletion: "any"
23725
- },
23726
- {
23727
- slot: "locale",
23728
- askBeforePaidExecution: true,
23729
- explicitOmissionAllowed: false,
23730
- fieldCompletion: "all"
23731
- },
23732
- {
23733
- slot: "sales_context",
23734
- askBeforePaidExecution: true,
23735
- explicitOmissionAllowed: true,
23736
- fieldCompletion: "any",
23737
- completionFields: [
23738
- "salesAngle"
23739
- ]
23740
- },
23741
- {
23742
- slot: "commercial_offer",
23743
- askBeforePaidExecution: true,
23744
- explicitOmissionAllowed: true,
23745
- fieldCompletion: "all"
23746
- }
23747
- ]),
23660
+ "creative",
23661
+ [
23662
+ "credit_consuming",
23663
+ "state_change"
23664
+ ],
23665
+ [
23666
+ slot("product_reference", true, [
23667
+ "images",
23668
+ "winnerReference"
23669
+ ], [
23670
+ "imageMessageIds",
23671
+ "imageAssetIds",
23672
+ "projectId",
23673
+ "productUrl"
23674
+ ]),
23675
+ slot("locale", true, [
23676
+ "language",
23677
+ "country"
23678
+ ]),
23679
+ slot("initial_landing_gif", false, [
23680
+ "includeInitialLandingGif"
23681
+ ], []),
23682
+ slot("sales_context", false, [
23683
+ "salesAngle",
23684
+ "buyerPersona"
23685
+ ]),
23686
+ slot("commercial_offer", false, [
23687
+ "price",
23688
+ "compareAtPrice",
23689
+ "offer"
23690
+ ], [
23691
+ "price",
23692
+ "offer",
23693
+ "compareAtPrice",
23694
+ "paymentMethods"
23695
+ ]),
23696
+ slot("product_context", false, [
23697
+ "productLabel",
23698
+ "isCombo"
23699
+ ], [
23700
+ "productContext",
23701
+ "productLabel",
23702
+ "isCombo"
23703
+ ]),
23704
+ slot("brand_direction", false, [
23705
+ "brandId"
23706
+ ], [
23707
+ "brandId",
23708
+ "creativeDirection",
23709
+ "headline",
23710
+ "subheadline"
23711
+ ]),
23712
+ slot(
23713
+ "landing_options",
23714
+ // Required by the direct MCP schema, optional for the WhatsApp adapter.
23715
+ false,
23716
+ [
23717
+ "creativeSetup"
23718
+ ],
23719
+ [
23720
+ "competitorScanEnabled",
23721
+ "landingStrategy",
23722
+ "landingImageFormat",
23723
+ "pauseForAngleReview"
23724
+ ]
23725
+ )
23726
+ ],
23727
+ [
23728
+ "product_reference"
23729
+ ],
23730
+ [
23731
+ "task",
23732
+ "product",
23733
+ "landing"
23734
+ ],
23735
+ SHARED_CHANNEL_EXPOSURE,
23736
+ [
23737
+ {
23738
+ slot: "product_reference",
23739
+ askBeforePaidExecution: true,
23740
+ explicitOmissionAllowed: false,
23741
+ fieldCompletion: "any"
23742
+ },
23743
+ {
23744
+ slot: "locale",
23745
+ askBeforePaidExecution: true,
23746
+ explicitOmissionAllowed: false,
23747
+ fieldCompletion: "all"
23748
+ },
23749
+ {
23750
+ slot: "sales_context",
23751
+ askBeforePaidExecution: true,
23752
+ explicitOmissionAllowed: true,
23753
+ fieldCompletion: "any",
23754
+ completionFields: [
23755
+ "salesAngle"
23756
+ ]
23757
+ },
23758
+ {
23759
+ slot: "commercial_offer",
23760
+ askBeforePaidExecution: true,
23761
+ explicitOmissionAllowed: true,
23762
+ fieldCompletion: "all"
23763
+ }
23764
+ ]
23765
+ ),
23748
23766
  defineCapability(
23749
23767
  "generate_video_creative",
23750
23768
  // MCP 8.6.0: + storyteller narrative family and animationStyle axis.
@@ -30962,7 +30980,7 @@ var ApiClient = class {
30962
30980
  };
30963
30981
 
30964
30982
  // src/index.ts
30965
- var MCP_VERSION = "12.3.1";
30983
+ var MCP_VERSION = "12.4.0";
30966
30984
 
30967
30985
  // src/meta-upload-app.ts
30968
30986
  import { readFileSync } from "fs";
@@ -31956,7 +31974,7 @@ __name(resolveMediaRef, "resolveMediaRef");
31956
31974
  import { z as z133 } from "zod";
31957
31975
  var Lang = z133.string().regex(/^[a-z]{2}(?:[-_][a-zA-Z]{2})?$/, "Usa un c\xF3digo de idioma BCP-47, por ejemplo es, en-US o pt-BR").max(10);
31958
31976
  var Country = z133.string().min(2).max(3);
31959
- var LandingStrategyEnum = LandingStrategySchema;
31977
+ var LandingStrategyEnum = SelectableLandingStrategySchema;
31960
31978
  var LandingImageFormatEnum = LandingImageFormatSchema;
31961
31979
  var VideoPresetEnum = VideoPreset.extract([
31962
31980
  "auto",
@@ -34823,7 +34841,7 @@ var CreateProductTaskInput = z138.object({
34823
34841
  creativeDirection: z138.string().max(500).optional().describe('Opcional. Direcci\xF3n creativa en texto libre (colores, mood, estilo) que aplica a los outputs de IMAGEN y LANDING (no al video \u2014 el estilo/ambiente del video se dirige con scriptNotes). M\xC1XIMA PRIORIDAD: anula marca, colores y estilo por defecto. Ej. "amarillo y azul, minimalista". M\xE1x 500 caracteres.'),
34824
34842
  headline: z138.string().max(120).optional().describe("Opcional. Titular EXACTO a renderizar. Se imprime tal cual: la IA no lo reescribe, no lo acorta y no lo traduce. Se aplica a las IM\xC1GENES y a la portada de la landing de esta task (el video no lo usa; para el video usa scriptNotes). \xDAsalo cuando el copy es de marca y no es negociable. M\xE1x 120 caracteres. Si lo omites, la IA escribe el titular."),
34825
34843
  subheadline: z138.string().max(160).optional().describe("Opcional. Subt\xEDtulo EXACTO a renderizar, misma regla que headline. Independiente: puedes fijar solo el subt\xEDtulo. M\xE1x 160 caracteres."),
34826
- landingStrategy: LandingStrategyEnum.optional().describe('Opcional. Estructura de la landing cl\xE1sica cuando landing est\xE1 entre outputs: "classic" (estructura original probada y recomendada; default del primer rollout), "auto" (la IA decide; experimental), "pain_solution", "social_proof" (Landing Viral: UGC, WhatsApp, Instagram y evidencia social), "benefits_clarity", "offer_value" o "lifestyle_identity". Default "classic".'),
34844
+ landingStrategy: LandingStrategyEnum.optional().describe('Opcional. Estructura de la landing cl\xE1sica cuando landing est\xE1 entre outputs: "classic" (Landing cl\xE1sica de ProductMaker: estructura original probada y recomendada) o "social_proof" (Landing Viral: UGC, WhatsApp, Instagram y evidencia social). Default "classic".'),
34827
34845
  landingImageFormat: LandingImageFormatEnum.default("9:16").describe('Opcional. Formato/relaci\xF3n de aspecto de las im\xE1genes de la landing cl\xE1sica cuando landing est\xE1 entre outputs: "9:16" (vertical, por defecto), "4:5" (vertical compacto para feed) o "1:1" (cuadrado). Default "9:16".')
34828
34846
  }).strict();
34829
34847
  var CreateServiceVideoInput = z138.object({
package/dist/stdio.js CHANGED
@@ -5881,6 +5881,11 @@ var LANDING_STRATEGIES = [
5881
5881
  "lifestyle_identity"
5882
5882
  ];
5883
5883
  var LandingStrategySchema = z14.enum(LANDING_STRATEGIES);
5884
+ var SELECTABLE_LANDING_STRATEGIES = [
5885
+ "classic",
5886
+ "social_proof"
5887
+ ];
5888
+ var SelectableLandingStrategySchema = z14.enum(SELECTABLE_LANDING_STRATEGIES);
5884
5889
  var EffectiveLandingStrategySchema = LandingStrategySchema.exclude([
5885
5890
  "auto"
5886
5891
  ]);
@@ -22978,7 +22983,8 @@ var PRODUCTMAKER_CAPABILITY_REGISTRY = deepFreeze([
22978
22983
  // MCP 8.6.0: + storyteller narrative family and animationStyle axis.
22979
22984
  // MCP 8.10.0: storyteller family blocked (BLOCKED_NARRATIVE_STYLES).
22980
22985
  // MCP 9.1.0: combine current animated-video controls and initial GIF choice.
22981
- "b44e4945c1d3d63d06ecf46295a6ac273df20e059edcf72bfb8f88149f28e12a",
22986
+ // MCP 12.4.0: landingStrategy narrowed to classic + social_proof.
22987
+ "c35f8c65762db3ea077b09f5f165e5571abea0f40250e4c096d1ef7cad7e5f7a",
22982
22988
  "credit_consuming",
22983
22989
  "creative",
22984
22990
  [
@@ -23421,105 +23427,117 @@ var PRODUCTMAKER_CAPABILITY_REGISTRY = deepFreeze([
23421
23427
  ]
23422
23428
  }
23423
23429
  ]),
23424
- defineCapability("generate_landing", "14c537cf4ccaf25277f896aa58c64aef06ef4e6cba2ae8029437a732f8df71db", "credit_consuming", "creative", [
23430
+ defineCapability(
23431
+ "generate_landing",
23432
+ // MCP 12.4.0: guided landingStrategy narrowed to classic + social_proof.
23433
+ "d3ef2376273a5a1b987c79182e63ff00a03de322e1a13e0dc69f7ffa8330536e",
23425
23434
  "credit_consuming",
23426
- "state_change"
23427
- ], [
23428
- slot("product_reference", true, [
23429
- "images",
23430
- "winnerReference"
23431
- ], [
23432
- "imageMessageIds",
23433
- "imageAssetIds",
23434
- "projectId",
23435
- "productUrl"
23436
- ]),
23437
- slot("locale", true, [
23438
- "language",
23439
- "country"
23440
- ]),
23441
- slot("initial_landing_gif", false, [
23442
- "includeInitialLandingGif"
23443
- ], []),
23444
- slot("sales_context", false, [
23445
- "salesAngle",
23446
- "buyerPersona"
23447
- ]),
23448
- slot("commercial_offer", false, [
23449
- "price",
23450
- "compareAtPrice",
23451
- "offer"
23452
- ], [
23453
- "price",
23454
- "offer",
23455
- "compareAtPrice",
23456
- "paymentMethods"
23457
- ]),
23458
- slot("product_context", false, [
23459
- "productLabel",
23460
- "isCombo"
23461
- ], [
23462
- "productContext",
23463
- "productLabel",
23464
- "isCombo"
23465
- ]),
23466
- slot("brand_direction", false, [
23467
- "brandId"
23468
- ], [
23469
- "brandId",
23470
- "creativeDirection",
23471
- "headline",
23472
- "subheadline"
23473
- ]),
23474
- slot(
23475
- "landing_options",
23476
- // Required by the direct MCP schema, optional for the WhatsApp adapter.
23477
- false,
23478
- [
23479
- "creativeSetup"
23480
- ],
23481
- [
23482
- "competitorScanEnabled",
23483
- "landingStrategy",
23484
- "landingImageFormat",
23485
- "pauseForAngleReview"
23486
- ]
23487
- )
23488
- ], [
23489
- "product_reference"
23490
- ], [
23491
- "task",
23492
- "product",
23493
- "landing"
23494
- ], SHARED_CHANNEL_EXPOSURE, [
23495
- {
23496
- slot: "product_reference",
23497
- askBeforePaidExecution: true,
23498
- explicitOmissionAllowed: false,
23499
- fieldCompletion: "any"
23500
- },
23501
- {
23502
- slot: "locale",
23503
- askBeforePaidExecution: true,
23504
- explicitOmissionAllowed: false,
23505
- fieldCompletion: "all"
23506
- },
23507
- {
23508
- slot: "sales_context",
23509
- askBeforePaidExecution: true,
23510
- explicitOmissionAllowed: true,
23511
- fieldCompletion: "any",
23512
- completionFields: [
23513
- "salesAngle"
23514
- ]
23515
- },
23516
- {
23517
- slot: "commercial_offer",
23518
- askBeforePaidExecution: true,
23519
- explicitOmissionAllowed: true,
23520
- fieldCompletion: "all"
23521
- }
23522
- ]),
23435
+ "creative",
23436
+ [
23437
+ "credit_consuming",
23438
+ "state_change"
23439
+ ],
23440
+ [
23441
+ slot("product_reference", true, [
23442
+ "images",
23443
+ "winnerReference"
23444
+ ], [
23445
+ "imageMessageIds",
23446
+ "imageAssetIds",
23447
+ "projectId",
23448
+ "productUrl"
23449
+ ]),
23450
+ slot("locale", true, [
23451
+ "language",
23452
+ "country"
23453
+ ]),
23454
+ slot("initial_landing_gif", false, [
23455
+ "includeInitialLandingGif"
23456
+ ], []),
23457
+ slot("sales_context", false, [
23458
+ "salesAngle",
23459
+ "buyerPersona"
23460
+ ]),
23461
+ slot("commercial_offer", false, [
23462
+ "price",
23463
+ "compareAtPrice",
23464
+ "offer"
23465
+ ], [
23466
+ "price",
23467
+ "offer",
23468
+ "compareAtPrice",
23469
+ "paymentMethods"
23470
+ ]),
23471
+ slot("product_context", false, [
23472
+ "productLabel",
23473
+ "isCombo"
23474
+ ], [
23475
+ "productContext",
23476
+ "productLabel",
23477
+ "isCombo"
23478
+ ]),
23479
+ slot("brand_direction", false, [
23480
+ "brandId"
23481
+ ], [
23482
+ "brandId",
23483
+ "creativeDirection",
23484
+ "headline",
23485
+ "subheadline"
23486
+ ]),
23487
+ slot(
23488
+ "landing_options",
23489
+ // Required by the direct MCP schema, optional for the WhatsApp adapter.
23490
+ false,
23491
+ [
23492
+ "creativeSetup"
23493
+ ],
23494
+ [
23495
+ "competitorScanEnabled",
23496
+ "landingStrategy",
23497
+ "landingImageFormat",
23498
+ "pauseForAngleReview"
23499
+ ]
23500
+ )
23501
+ ],
23502
+ [
23503
+ "product_reference"
23504
+ ],
23505
+ [
23506
+ "task",
23507
+ "product",
23508
+ "landing"
23509
+ ],
23510
+ SHARED_CHANNEL_EXPOSURE,
23511
+ [
23512
+ {
23513
+ slot: "product_reference",
23514
+ askBeforePaidExecution: true,
23515
+ explicitOmissionAllowed: false,
23516
+ fieldCompletion: "any"
23517
+ },
23518
+ {
23519
+ slot: "locale",
23520
+ askBeforePaidExecution: true,
23521
+ explicitOmissionAllowed: false,
23522
+ fieldCompletion: "all"
23523
+ },
23524
+ {
23525
+ slot: "sales_context",
23526
+ askBeforePaidExecution: true,
23527
+ explicitOmissionAllowed: true,
23528
+ fieldCompletion: "any",
23529
+ completionFields: [
23530
+ "salesAngle"
23531
+ ]
23532
+ },
23533
+ {
23534
+ slot: "commercial_offer",
23535
+ askBeforePaidExecution: true,
23536
+ explicitOmissionAllowed: true,
23537
+ fieldCompletion: "all"
23538
+ }
23539
+ ]
23540
+ ),
23523
23541
  defineCapability(
23524
23542
  "generate_video_creative",
23525
23543
  // MCP 8.6.0: + storyteller narrative family and animationStyle axis.
@@ -29289,7 +29307,7 @@ var ApiClient = class {
29289
29307
  };
29290
29308
 
29291
29309
  // src/index.ts
29292
- var MCP_VERSION = "12.3.1";
29310
+ var MCP_VERSION = "12.4.0";
29293
29311
 
29294
29312
  // src/meta-upload-app.ts
29295
29313
  import { readFileSync } from "fs";
@@ -30287,7 +30305,7 @@ __name(resolveMediaRef, "resolveMediaRef");
30287
30305
  import { z as z132 } from "zod";
30288
30306
  var Lang = z132.string().regex(/^[a-z]{2}(?:[-_][a-zA-Z]{2})?$/, "Usa un c\xF3digo de idioma BCP-47, por ejemplo es, en-US o pt-BR").max(10);
30289
30307
  var Country = z132.string().min(2).max(3);
30290
- var LandingStrategyEnum = LandingStrategySchema;
30308
+ var LandingStrategyEnum = SelectableLandingStrategySchema;
30291
30309
  var LandingImageFormatEnum = LandingImageFormatSchema;
30292
30310
  var VideoPresetEnum = VideoPreset.extract([
30293
30311
  "auto",
@@ -33308,7 +33326,7 @@ var CreateProductTaskInput = z137.object({
33308
33326
  creativeDirection: z137.string().max(500).optional().describe('Opcional. Direcci\xF3n creativa en texto libre (colores, mood, estilo) que aplica a los outputs de IMAGEN y LANDING (no al video \u2014 el estilo/ambiente del video se dirige con scriptNotes). M\xC1XIMA PRIORIDAD: anula marca, colores y estilo por defecto. Ej. "amarillo y azul, minimalista". M\xE1x 500 caracteres.'),
33309
33327
  headline: z137.string().max(120).optional().describe("Opcional. Titular EXACTO a renderizar. Se imprime tal cual: la IA no lo reescribe, no lo acorta y no lo traduce. Se aplica a las IM\xC1GENES y a la portada de la landing de esta task (el video no lo usa; para el video usa scriptNotes). \xDAsalo cuando el copy es de marca y no es negociable. M\xE1x 120 caracteres. Si lo omites, la IA escribe el titular."),
33310
33328
  subheadline: z137.string().max(160).optional().describe("Opcional. Subt\xEDtulo EXACTO a renderizar, misma regla que headline. Independiente: puedes fijar solo el subt\xEDtulo. M\xE1x 160 caracteres."),
33311
- landingStrategy: LandingStrategyEnum.optional().describe('Opcional. Estructura de la landing cl\xE1sica cuando landing est\xE1 entre outputs: "classic" (estructura original probada y recomendada; default del primer rollout), "auto" (la IA decide; experimental), "pain_solution", "social_proof" (Landing Viral: UGC, WhatsApp, Instagram y evidencia social), "benefits_clarity", "offer_value" o "lifestyle_identity". Default "classic".'),
33329
+ landingStrategy: LandingStrategyEnum.optional().describe('Opcional. Estructura de la landing cl\xE1sica cuando landing est\xE1 entre outputs: "classic" (Landing cl\xE1sica de ProductMaker: estructura original probada y recomendada) o "social_proof" (Landing Viral: UGC, WhatsApp, Instagram y evidencia social). Default "classic".'),
33312
33330
  landingImageFormat: LandingImageFormatEnum.default("9:16").describe('Opcional. Formato/relaci\xF3n de aspecto de las im\xE1genes de la landing cl\xE1sica cuando landing est\xE1 entre outputs: "9:16" (vertical, por defecto), "4:5" (vertical compacto para feed) o "1:1" (cuadrado). Default "9:16".')
33313
33331
  }).strict();
33314
33332
  var CreateServiceVideoInput = z137.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@productmaker/mcp",
3
- "version": "12.3.1",
3
+ "version": "12.4.0",
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.",