@productmaker/mcp 12.31.0 → 12.32.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.
package/dist/http.js CHANGED
@@ -6144,6 +6144,8 @@ var CreativeEngineRecipeSchema = z14.object({
6144
6144
  repairPlanReviewPolicy: z14.literal("frozen_contract_v1").optional(),
6145
6145
  /** Root-only visual patch wire contract; absent preserves historic full-plan recovery. */
6146
6146
  repairAuthoring: z14.literal("scene_patch_v1").optional(),
6147
+ /** Scope physical-use repair instructions to freshly bound director requests. */
6148
+ groundedPhysicalRepair: z14.literal("scene_v1").optional(),
6147
6149
  /** New requests maximize output inside model and measured input headroom. */
6148
6150
  outputTokenPolicy: z14.literal("model_max_v1").optional(),
6149
6151
  /**
@@ -6247,6 +6249,8 @@ var CreativeEngineRecipeSchema = z14.object({
6247
6249
  * keeps the prepared wire byte-identical for operations in flight.
6248
6250
  */
6249
6251
  promptCacheLayout: z14.literal("stable_prefix_v1").optional(),
6252
+ /** New Multiescena admissions may try on-camera speech without an isolated speaker. */
6253
+ unidentifiedSpeakerLipSync: z14.literal("provisional_v1").optional(),
6250
6254
  /** New final reviews explicitly account for selected critical technical findings. */
6251
6255
  finalReviewContextPolicy: z14.literal("selected_candidate_findings_v1").optional(),
6252
6256
  /** New voice requests after localized lengthening override stale timing only. */
@@ -6594,6 +6598,8 @@ var CreativeEngineReviewSchema = z14.object({
6594
6598
  "base_routing",
6595
6599
  "candidate_quality"
6596
6600
  ]).optional(),
6601
+ /** Runtime detector veto. The model response schema does not expose it. */
6602
+ provisionalSpeechIsolationVeto: z14.literal(true).optional(),
6597
6603
  speechWindows: z14.array(CreativeEngineSpeechObservationSchema).max(3).optional(),
6598
6604
  subjectHash: hash,
6599
6605
  planRevision: z14.number().int().positive(),
@@ -6666,6 +6672,8 @@ var CreativeEngineSpeechRoutingSchema = z14.object({
6666
6672
  "reviewed",
6667
6673
  "plan_fallback"
6668
6674
  ]).optional(),
6675
+ /** Full-frame attempt whose speaker identity needs candidate QA. */
6676
+ unverifiedSpeaker: z14.literal(true).optional(),
6669
6677
  /** Why a plan_fallback routing exists: the review's unavailability, or an
6670
6678
  * explicit routing rejection accepted degraded with planned windows. */
6671
6679
  unavailabilityReason: z14.enum([
@@ -6802,6 +6810,9 @@ var CreativeEngineCandidateSchema = z14.object({
6802
6810
  ]).optional(),
6803
6811
  baseOutputHash: hash.optional(),
6804
6812
  routingHash: hash.optional(),
6813
+ speechBaseFallback: z14.literal(true).optional(),
6814
+ /** Provisional windows actually composited into this candidate. */
6815
+ speechPatchedWindowIds: z14.array(id2).min(1).max(3).optional(),
6805
6816
  inheritanceHash: hash.optional(),
6806
6817
  id: id2,
6807
6818
  sceneId: id2,
@@ -6982,7 +6993,18 @@ var CreativeEngineSpeechWindowRepairStateSchema = z14.object({
6982
6993
  * the same index; historical receipts pin 2.
6983
6994
  */
6984
6995
  attempt: z14.number().int().min(1).max(CREATIVE_ENGINE_MEDIA_RECOVERY_POLICY.paidRetakesMax + 1),
6985
- supersededCandidateIds: z14.array(id2).max(128).optional()
6996
+ supersededCandidateIds: z14.array(id2).max(128).optional(),
6997
+ /** Exact rejected final that admitted the repair; absent for asset failures and older journals. */
6998
+ sourceFinal: z14.object({
6999
+ reviewId: id2,
7000
+ outputHash: hash,
7001
+ manifestHash: hash,
7002
+ planHash: hash,
7003
+ planRevision: z14.number().int().positive(),
7004
+ selectedCandidateId: id2,
7005
+ /** Same selected takes with confirmed issues outside the paid window. */
7006
+ retainedSelection: z14.record(z14.string(), id2).optional()
7007
+ }).strict().optional()
6986
7008
  }).strict();
6987
7009
  var CreativeEngineFinalRepairFallbackSchema = z14.object({
6988
7010
  owner: CreativeEngineOwnerSchema,
@@ -7029,6 +7051,18 @@ var CreativeEngineStateSchema = z14.object({
7029
7051
  retainedSceneCandidates: z14.array(CreativeEngineRetainedSceneCandidateBindingSchema).optional(),
7030
7052
  inheritedSceneOutputs: z14.array(CreativeEngineInheritedSceneOutputSchema).optional(),
7031
7053
  speechRoutings: z14.array(CreativeEngineSpeechRoutingSchema).optional(),
7054
+ provisionalFinalSpeech: z14.object({
7055
+ reviewId: id2,
7056
+ candidateIds: z14.array(id2).min(1),
7057
+ planHash: hash,
7058
+ final: CreativeEngineFinalSchema,
7059
+ selection: z14.record(z14.string(), id2),
7060
+ active: z14.boolean()
7061
+ }).strict().optional(),
7062
+ speechFallbackAdmissionRefusals: z14.record(hash, z14.enum([
7063
+ "cost_budget_exhausted",
7064
+ "post_budget_exhausted"
7065
+ ])).optional(),
7032
7066
  speechWindowRepair: CreativeEngineSpeechWindowRepairStateSchema.optional(),
7033
7067
  selection: z14.record(z14.string(), id2),
7034
7068
  selectionManifestHash: hash.optional(),
@@ -7202,6 +7236,23 @@ var CreativeEngineEventSchema = z14.discriminatedUnion("type", [
7202
7236
  type: z14.literal("repair_requested"),
7203
7237
  sceneId: id2
7204
7238
  }).strict(),
7239
+ z14.object({
7240
+ type: z14.literal("provisional_final_speech_decided"),
7241
+ reviewId: id2,
7242
+ candidateIds: z14.array(id2).min(1),
7243
+ admitted: z14.boolean()
7244
+ }).strict(),
7245
+ z14.object({
7246
+ type: z14.literal("provisional_final_speech_restored")
7247
+ }).strict(),
7248
+ z14.object({
7249
+ type: z14.literal("speech_fallback_admission_refused"),
7250
+ operation: CreativeEngineOperationSchema,
7251
+ reason: z14.enum([
7252
+ "cost_budget_exhausted",
7253
+ "post_budget_exhausted"
7254
+ ])
7255
+ }).strict(),
7205
7256
  z14.object({
7206
7257
  type: z14.literal("plan_repair_admission_denied"),
7207
7258
  planHash: hash,
@@ -13036,6 +13087,11 @@ var ShopifyLandingPixelsResponse = z42.object({
13036
13087
  * could not be read (password, timeout): the selection works the same.
13037
13088
  */
13038
13089
  appPixels: z42.array(ShopifyAppPixel).default([]),
13090
+ /**
13091
+ * False when the storefront could not be read, so an empty `appPixels`
13092
+ * means "unknown", not "no app pixels". Absent (older API) means true.
13093
+ */
13094
+ appPixelsChecked: z42.boolean().default(true),
13039
13095
  /** The theme holds tracking code we do not recognize and never copy. */
13040
13096
  unrecognizedCodeDetected: z42.boolean()
13041
13097
  });
@@ -35088,7 +35144,7 @@ var ApiClient = class {
35088
35144
  };
35089
35145
 
35090
35146
  // src/index.ts
35091
- var MCP_VERSION = "12.31.0";
35147
+ var MCP_VERSION = "12.32.0";
35092
35148
 
35093
35149
  // src/meta-upload-app.ts
35094
35150
  import { readFileSync } from "fs";
@@ -42846,7 +42902,7 @@ function registerConnectionTools(server, api) {
42846
42902
  }
42847
42903
  });
42848
42904
  server.registerTool("list_shopify_landing_pixels", {
42849
- description: listShopifyLandingPixelsGuidance.summary + ' Cada pixel trae `key`, `provider`, `pixelId`, `source` ("theme" = est\xE1 en el tema, "landing" = solo en la landing, "manual" = lo agreg\xF3 la persona) y `selected` (si quedar\xE1 en la landing). Mu\xE9straselos en lenguaje simple antes de `publish_to_shopify` y pregunta cu\xE1les quitar o si agrega uno nuevo; luego pasa la elecci\xF3n en `landingPixels`. `appPixels` son los p\xEDxeles que una app de Shopify carga en toda la tienda (`provider`, `pixelId`, `appName`): mu\xE9stralos como "viene de la app <appName>", sin ofrecer quitarlos (solo se quitan desde esa app) y nunca los pongas en `landingPixels`. Si `unrecognizedCodeDetected` es true, avisa que hay c\xF3digo de seguimiento que no se pudo leer y no se copia. No modifica Shopify.',
42905
+ description: listShopifyLandingPixelsGuidance.summary + ' Cada pixel trae `key`, `provider`, `pixelId`, `source` ("theme" = est\xE1 en el tema, "landing" = solo en la landing, "manual" = lo agreg\xF3 la persona) y `selected` (si quedar\xE1 en la landing). Mu\xE9straselos en lenguaje simple antes de `publish_to_shopify` y pregunta cu\xE1les quitar o si agrega uno nuevo; luego pasa la elecci\xF3n en `landingPixels`. `appPixels` son los p\xEDxeles que una app de Shopify carga en toda la tienda (`provider`, `pixelId`, `appName`): mu\xE9stralos como "viene de la app <appName>", sin ofrecer quitarlos (solo se quitan desde esa app) y nunca los pongas en `landingPixels`. Si `appPixelsChecked` es false, no se pudo leer la tienda: `appPixels` vac\xEDo NO significa que ninguna app cargue p\xEDxeles; di que no se pudo confirmar (una app como Facebook & Instagram puede cargar Meta) en vez de afirmar que no hay. Si `unrecognizedCodeDetected` es true, avisa que hay c\xF3digo de seguimiento que no se pudo leer y no se copia. No modifica Shopify.',
42850
42906
  inputSchema: z162.object({
42851
42907
  shopDomain: z162.string().min(3).max(120)
42852
42908
  }).shape,
package/dist/stdio.js CHANGED
@@ -5919,6 +5919,8 @@ var CreativeEngineRecipeSchema = z14.object({
5919
5919
  repairPlanReviewPolicy: z14.literal("frozen_contract_v1").optional(),
5920
5920
  /** Root-only visual patch wire contract; absent preserves historic full-plan recovery. */
5921
5921
  repairAuthoring: z14.literal("scene_patch_v1").optional(),
5922
+ /** Scope physical-use repair instructions to freshly bound director requests. */
5923
+ groundedPhysicalRepair: z14.literal("scene_v1").optional(),
5922
5924
  /** New requests maximize output inside model and measured input headroom. */
5923
5925
  outputTokenPolicy: z14.literal("model_max_v1").optional(),
5924
5926
  /**
@@ -6022,6 +6024,8 @@ var CreativeEngineRecipeSchema = z14.object({
6022
6024
  * keeps the prepared wire byte-identical for operations in flight.
6023
6025
  */
6024
6026
  promptCacheLayout: z14.literal("stable_prefix_v1").optional(),
6027
+ /** New Multiescena admissions may try on-camera speech without an isolated speaker. */
6028
+ unidentifiedSpeakerLipSync: z14.literal("provisional_v1").optional(),
6025
6029
  /** New final reviews explicitly account for selected critical technical findings. */
6026
6030
  finalReviewContextPolicy: z14.literal("selected_candidate_findings_v1").optional(),
6027
6031
  /** New voice requests after localized lengthening override stale timing only. */
@@ -6369,6 +6373,8 @@ var CreativeEngineReviewSchema = z14.object({
6369
6373
  "base_routing",
6370
6374
  "candidate_quality"
6371
6375
  ]).optional(),
6376
+ /** Runtime detector veto. The model response schema does not expose it. */
6377
+ provisionalSpeechIsolationVeto: z14.literal(true).optional(),
6372
6378
  speechWindows: z14.array(CreativeEngineSpeechObservationSchema).max(3).optional(),
6373
6379
  subjectHash: hash,
6374
6380
  planRevision: z14.number().int().positive(),
@@ -6441,6 +6447,8 @@ var CreativeEngineSpeechRoutingSchema = z14.object({
6441
6447
  "reviewed",
6442
6448
  "plan_fallback"
6443
6449
  ]).optional(),
6450
+ /** Full-frame attempt whose speaker identity needs candidate QA. */
6451
+ unverifiedSpeaker: z14.literal(true).optional(),
6444
6452
  /** Why a plan_fallback routing exists: the review's unavailability, or an
6445
6453
  * explicit routing rejection accepted degraded with planned windows. */
6446
6454
  unavailabilityReason: z14.enum([
@@ -6577,6 +6585,9 @@ var CreativeEngineCandidateSchema = z14.object({
6577
6585
  ]).optional(),
6578
6586
  baseOutputHash: hash.optional(),
6579
6587
  routingHash: hash.optional(),
6588
+ speechBaseFallback: z14.literal(true).optional(),
6589
+ /** Provisional windows actually composited into this candidate. */
6590
+ speechPatchedWindowIds: z14.array(id2).min(1).max(3).optional(),
6580
6591
  inheritanceHash: hash.optional(),
6581
6592
  id: id2,
6582
6593
  sceneId: id2,
@@ -6757,7 +6768,18 @@ var CreativeEngineSpeechWindowRepairStateSchema = z14.object({
6757
6768
  * the same index; historical receipts pin 2.
6758
6769
  */
6759
6770
  attempt: z14.number().int().min(1).max(CREATIVE_ENGINE_MEDIA_RECOVERY_POLICY.paidRetakesMax + 1),
6760
- supersededCandidateIds: z14.array(id2).max(128).optional()
6771
+ supersededCandidateIds: z14.array(id2).max(128).optional(),
6772
+ /** Exact rejected final that admitted the repair; absent for asset failures and older journals. */
6773
+ sourceFinal: z14.object({
6774
+ reviewId: id2,
6775
+ outputHash: hash,
6776
+ manifestHash: hash,
6777
+ planHash: hash,
6778
+ planRevision: z14.number().int().positive(),
6779
+ selectedCandidateId: id2,
6780
+ /** Same selected takes with confirmed issues outside the paid window. */
6781
+ retainedSelection: z14.record(z14.string(), id2).optional()
6782
+ }).strict().optional()
6761
6783
  }).strict();
6762
6784
  var CreativeEngineFinalRepairFallbackSchema = z14.object({
6763
6785
  owner: CreativeEngineOwnerSchema,
@@ -6804,6 +6826,18 @@ var CreativeEngineStateSchema = z14.object({
6804
6826
  retainedSceneCandidates: z14.array(CreativeEngineRetainedSceneCandidateBindingSchema).optional(),
6805
6827
  inheritedSceneOutputs: z14.array(CreativeEngineInheritedSceneOutputSchema).optional(),
6806
6828
  speechRoutings: z14.array(CreativeEngineSpeechRoutingSchema).optional(),
6829
+ provisionalFinalSpeech: z14.object({
6830
+ reviewId: id2,
6831
+ candidateIds: z14.array(id2).min(1),
6832
+ planHash: hash,
6833
+ final: CreativeEngineFinalSchema,
6834
+ selection: z14.record(z14.string(), id2),
6835
+ active: z14.boolean()
6836
+ }).strict().optional(),
6837
+ speechFallbackAdmissionRefusals: z14.record(hash, z14.enum([
6838
+ "cost_budget_exhausted",
6839
+ "post_budget_exhausted"
6840
+ ])).optional(),
6807
6841
  speechWindowRepair: CreativeEngineSpeechWindowRepairStateSchema.optional(),
6808
6842
  selection: z14.record(z14.string(), id2),
6809
6843
  selectionManifestHash: hash.optional(),
@@ -6977,6 +7011,23 @@ var CreativeEngineEventSchema = z14.discriminatedUnion("type", [
6977
7011
  type: z14.literal("repair_requested"),
6978
7012
  sceneId: id2
6979
7013
  }).strict(),
7014
+ z14.object({
7015
+ type: z14.literal("provisional_final_speech_decided"),
7016
+ reviewId: id2,
7017
+ candidateIds: z14.array(id2).min(1),
7018
+ admitted: z14.boolean()
7019
+ }).strict(),
7020
+ z14.object({
7021
+ type: z14.literal("provisional_final_speech_restored")
7022
+ }).strict(),
7023
+ z14.object({
7024
+ type: z14.literal("speech_fallback_admission_refused"),
7025
+ operation: CreativeEngineOperationSchema,
7026
+ reason: z14.enum([
7027
+ "cost_budget_exhausted",
7028
+ "post_budget_exhausted"
7029
+ ])
7030
+ }).strict(),
6980
7031
  z14.object({
6981
7032
  type: z14.literal("plan_repair_admission_denied"),
6982
7033
  planHash: hash,
@@ -12811,6 +12862,11 @@ var ShopifyLandingPixelsResponse = z42.object({
12811
12862
  * could not be read (password, timeout): the selection works the same.
12812
12863
  */
12813
12864
  appPixels: z42.array(ShopifyAppPixel).default([]),
12865
+ /**
12866
+ * False when the storefront could not be read, so an empty `appPixels`
12867
+ * means "unknown", not "no app pixels". Absent (older API) means true.
12868
+ */
12869
+ appPixelsChecked: z42.boolean().default(true),
12814
12870
  /** The theme holds tracking code we do not recognize and never copy. */
12815
12871
  unrecognizedCodeDetected: z42.boolean()
12816
12872
  });
@@ -33415,7 +33471,7 @@ var ApiClient = class {
33415
33471
  };
33416
33472
 
33417
33473
  // src/index.ts
33418
- var MCP_VERSION = "12.31.0";
33474
+ var MCP_VERSION = "12.32.0";
33419
33475
 
33420
33476
  // src/meta-upload-app.ts
33421
33477
  import { readFileSync } from "fs";
@@ -41331,7 +41387,7 @@ function registerConnectionTools(server, api) {
41331
41387
  }
41332
41388
  });
41333
41389
  server.registerTool("list_shopify_landing_pixels", {
41334
- description: listShopifyLandingPixelsGuidance.summary + ' Cada pixel trae `key`, `provider`, `pixelId`, `source` ("theme" = est\xE1 en el tema, "landing" = solo en la landing, "manual" = lo agreg\xF3 la persona) y `selected` (si quedar\xE1 en la landing). Mu\xE9straselos en lenguaje simple antes de `publish_to_shopify` y pregunta cu\xE1les quitar o si agrega uno nuevo; luego pasa la elecci\xF3n en `landingPixels`. `appPixels` son los p\xEDxeles que una app de Shopify carga en toda la tienda (`provider`, `pixelId`, `appName`): mu\xE9stralos como "viene de la app <appName>", sin ofrecer quitarlos (solo se quitan desde esa app) y nunca los pongas en `landingPixels`. Si `unrecognizedCodeDetected` es true, avisa que hay c\xF3digo de seguimiento que no se pudo leer y no se copia. No modifica Shopify.',
41390
+ description: listShopifyLandingPixelsGuidance.summary + ' Cada pixel trae `key`, `provider`, `pixelId`, `source` ("theme" = est\xE1 en el tema, "landing" = solo en la landing, "manual" = lo agreg\xF3 la persona) y `selected` (si quedar\xE1 en la landing). Mu\xE9straselos en lenguaje simple antes de `publish_to_shopify` y pregunta cu\xE1les quitar o si agrega uno nuevo; luego pasa la elecci\xF3n en `landingPixels`. `appPixels` son los p\xEDxeles que una app de Shopify carga en toda la tienda (`provider`, `pixelId`, `appName`): mu\xE9stralos como "viene de la app <appName>", sin ofrecer quitarlos (solo se quitan desde esa app) y nunca los pongas en `landingPixels`. Si `appPixelsChecked` es false, no se pudo leer la tienda: `appPixels` vac\xEDo NO significa que ninguna app cargue p\xEDxeles; di que no se pudo confirmar (una app como Facebook & Instagram puede cargar Meta) en vez de afirmar que no hay. Si `unrecognizedCodeDetected` es true, avisa que hay c\xF3digo de seguimiento que no se pudo leer y no se copia. No modifica Shopify.',
41335
41391
  inputSchema: z161.object({
41336
41392
  shopDomain: z161.string().min(3).max(120)
41337
41393
  }).shape,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@productmaker/mcp",
3
- "version": "12.31.0",
3
+ "version": "12.32.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.",