hermoso 0.1.11 → 0.1.12
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/mcp/tools.mjs +3 -3
- package/package.json +1 -1
package/mcp/tools.mjs
CHANGED
|
@@ -500,14 +500,14 @@ export function registerTools(server) {
|
|
|
500
500
|
return ok(`Pages: ${pages.map(p => p.name + (p.instagram ? ` (IG @${p.instagram.username})` : '')).join(', ') || 'none'}\nAd accounts: ${adAccounts.map(a => `${a.name} (act_${a.accountId}, ${a.currency}${a.active ? '' : ', inactive'})`).join(', ') || 'none'}`, { pages, adAccounts });
|
|
501
501
|
}));
|
|
502
502
|
server.registerTool('post_to_meta', {
|
|
503
|
-
title: 'Post to Facebook or
|
|
504
|
-
description: 'Publish to a connected Facebook Page
|
|
503
|
+
title: 'Post to Facebook, Instagram or Threads',
|
|
504
|
+
description: 'Publish to a connected Facebook Page, its linked Instagram, OR the brand’s Threads account — text/link/image/VIDEO (public https URLs). target:"facebook" (default) posts to the Page; target:"instagram" publishes a photo or Reel to the linked IG business account (needs an image or video); target:"threads" posts to the connected Threads account (text, image, or video). Perfect for shipping a finished Hermoso ad straight to the brand’s socials. This PUBLISHES immediately — confirm the copy + media with the user first. Needs a connected Meta account (Settings ▸ Connectors ▸ Meta) with posting permission; Threads needs its own connection (Settings ▸ Connectors ▸ Threads).',
|
|
505
505
|
inputSchema: {
|
|
506
506
|
message: z.string().optional().describe('post text / caption'),
|
|
507
507
|
imageUrl: z.string().optional().describe('public https:// image URL'),
|
|
508
508
|
videoUrl: z.string().optional().describe('public https:// video URL (FB video post / IG Reel)'),
|
|
509
509
|
link: z.string().optional().describe('a URL to attach (FB text post only)'),
|
|
510
|
-
target: z.enum(['facebook', 'instagram']).optional().describe('default facebook; instagram
|
|
510
|
+
target: z.enum(['facebook', 'instagram', 'threads']).optional().describe('default facebook; instagram → the Page’s linked IG; threads → the brand’s connected Threads account'),
|
|
511
511
|
pageId: z.string().optional().describe('target Page id (from list_meta_pages); omit = first Page'),
|
|
512
512
|
},
|
|
513
513
|
outputSchema: { ok: z.boolean().optional(), postId: z.string().optional(), url: z.string().optional(), target: z.string().optional(), page: z.string().optional(), account: z.string().optional() },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hermoso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"mcpName": "io.github.hermoso-ai/hermoso",
|
|
5
5
|
"description": "Generate finished VIDEO ADS, image ads and UGC avatar ads for any brand with AI — and spy on competitor ads across the Meta, Google and LinkedIn ad libraries plus TikTok/Instagram/YouTube organic. MCP server, CLI and Claude skills for Hermoso, the AI ad studio: brand onboarding, 30+ image/video models, finished-ad pipeline (script, voiceover, music, brand end card), ad scoring and competitor teardowns.",
|
|
6
6
|
"type": "module",
|