@productmaker/mcp 1.14.0 → 1.16.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/README.md +23 -0
- package/dist/http.js +9542 -185
- package/dist/stdio.js +9542 -185
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -87,6 +87,29 @@ Sign up at [productmaker.app](https://productmaker.app) and create a key (prefix
|
|
|
87
87
|
| `get_meta_campaign_status` | Read-only status + lifetime insights (spend/impressions/clicks/reach) of a Meta campaign |
|
|
88
88
|
| `get_tiktok_campaign_status` | Read-only status + lifetime report of a TikTok campaign (requires `advertiserId`) |
|
|
89
89
|
|
|
90
|
+
## Video duration and winner review
|
|
91
|
+
|
|
92
|
+
`create_product_task` and `generate_video_creative` accept `durationSeconds`:
|
|
93
|
+
use `15` for the default single-call render or `30` for the existing
|
|
94
|
+
approximately-30-second multi-scene format. Thirty-second renders are billed
|
|
95
|
+
per scene, so tell the user about the higher cost before requesting one. The
|
|
96
|
+
MCP keeps the internal `standard` tier hidden and selects it only from this
|
|
97
|
+
explicit duration choice.
|
|
98
|
+
|
|
99
|
+
To let a user decide after competition analysis, pass
|
|
100
|
+
`pauseForAngleReview: true` when creating the task. When `get_task_status`
|
|
101
|
+
returns `pendingUserAction.kind = "angle_review_approval"` with a
|
|
102
|
+
`gapDurationChoice`, relay `recommendedSec` and `estimatedDeltaCredits` to the
|
|
103
|
+
user. After explicit confirmation, call `resolve_pending_action` with
|
|
104
|
+
`action: { kind: "angle_review_approval", gapDurationSeconds: 30 }` to upgrade
|
|
105
|
+
only the recommended angle. Omit the field or send `15` to keep the quoted
|
|
106
|
+
duration. A 30-second upgrade is rejected unless the current status contains a
|
|
107
|
+
matching 30-second recommendation.
|
|
108
|
+
|
|
109
|
+
The resolver uses the task kind from status to call the matching backend
|
|
110
|
+
approval contract, preserving multi-output autopilot tasks and the incremental
|
|
111
|
+
credit gate for the upgrade.
|
|
112
|
+
|
|
90
113
|
## Multiple photos per product
|
|
91
114
|
|
|
92
115
|
Creative tools accept an `images` array of **1–5 photos of the same product**. The first entry is the hero; the rest are alternate angles. Don't mix different products in one call — that's a separate task each time.
|