@productmaker/mcp 2.10.1 → 3.0.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/README.md +7 -15
- package/dist/http.js +204 -200
- package/dist/stdio.js +202 -198
- package/dist/ui/meta-upload-app.html +108 -102
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -118,8 +118,6 @@ separate release step.
|
|
|
118
118
|
| `list_meta_destinations` | List Meta Business portfolios, ad accounts per portfolio, and Facebook Pages; use the returned IDs to choose the exact publication destination |
|
|
119
119
|
| `request_media_upload` | Open the consumer-neutral inline file picker for ProductMaker tasks, image/video creatives, landings, and Meta; supports image, video, or mixed sessions, ChatGPT file references, an explicit OK chat handoff, and `/upload-media` only as fallback |
|
|
120
120
|
| `check_media_upload` | Return verified owner-scoped opaque asset IDs and media kinds from a universal upload session; no bytes, token, file name, or private URL reaches the model |
|
|
121
|
-
| `request_meta_media_upload` | Backward-compatible Meta upload alias; existing clients keep the legacy staged-source flow |
|
|
122
|
-
| `check_meta_media_upload` | Backward-compatible Meta status alias returning legacy staged asset IDs |
|
|
123
121
|
| `list_tiktok_advertisers` | List connected TikTok Ads advertiser accounts |
|
|
124
122
|
| `publish_to_shopify` | Publish a completed task to a Shopify store (returns markdown with landing + product URLs) |
|
|
125
123
|
| `publish_to_meta` | Create a Meta Ads campaign from a task (always PAUSED) after selecting exact `portfolioId`, `adAccountId`, and `pageId` with `list_meta_destinations` |
|
|
@@ -155,19 +153,13 @@ presses OK, continue the previous request with only the verified `assetId` and
|
|
|
155
153
|
matching `mediaKind` values. `check_media_upload` remains available for hosts
|
|
156
154
|
that need an explicit status call.
|
|
157
155
|
|
|
158
|
-
|
|
159
|
-
`
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
inside `publish_creatives_to_meta`. A partial batch may include only the assets
|
|
167
|
-
that `assets[]` actually reports as uploaded. The browser uploads directly to
|
|
168
|
-
the presigned CDN object; the chat never receives file bytes, base64, or a
|
|
169
|
-
local path, and ProductMaker deletes the staging object after a successful
|
|
170
|
-
paused Meta publication (or via the 24-hour TTL cleanup if the flow is
|
|
156
|
+
For Meta, pass each verified asset as
|
|
157
|
+
`{ "type": "asset", "assetId": "..." }` to `publish_creatives_to_meta` after
|
|
158
|
+
the user chooses the portfolio, ad account, and page in chat. A partial batch
|
|
159
|
+
may include only the assets actually reported as uploaded. The browser uploads
|
|
160
|
+
directly to the presigned CDN object; the chat never receives file bytes,
|
|
161
|
+
base64, or a local path, and ProductMaker deletes the staging object after a
|
|
162
|
+
successful paused Meta publication (or via the 24-hour TTL cleanup if the flow is
|
|
171
163
|
abandoned).
|
|
172
164
|
|
|
173
165
|
## Video duration and winner review
|