hermoso 0.1.477 → 0.1.479
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 +6 -6
- package/package.json +1 -1
package/mcp/tools.mjs
CHANGED
|
@@ -6047,7 +6047,7 @@ function buildTools(rawServer, opts = {}, sink = null) {
|
|
|
6047
6047
|
crossreshareDarkMode: z.boolean().optional().describe('THREADS ONLY — render that Instagram Story in dark mode. Only meaningful alongside crossreshareToIg; on its own it is refused rather than silently ignored, because a parameter that never reaches the wire must not look accepted.'),
|
|
6048
6048
|
platformCover: z.boolean().optional().describe('VIDEO COVER. Omit it (the default) and Hermoso sets the video\u2019s best frame \u2014 the same frame as its Library thumbnail \u2014 as the cover (Instagram Reel: thumb_offset; Facebook video/Reel: an uploaded cover image) \u2014 and on Threads, which has no cover setting, a blank first frame is replaced on a copy sent to Threads only. true = send no cover and let the platform pick (usually the first frame). A cover you pass yourself always wins.'),
|
|
6049
6049
|
}).loose(),
|
|
6050
|
-
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(), publishIssues: z.array(z.object({ field: z.string(), code: z.string(), text: z.string() })).optional(), publishIssuesNote: z.string().optional() },
|
|
6050
|
+
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(), mediaConformedNote: z.string().optional(), publishIssues: z.array(z.object({ field: z.string(), code: z.string(), text: z.string() })).optional(), publishIssuesNote: z.string().optional() },
|
|
6051
6051
|
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true },
|
|
6052
6052
|
}, publishWrap(async (a) => {
|
|
6053
6053
|
const d = await apiPost('/api/meta/post', a);
|
|
@@ -6061,7 +6061,7 @@ function buildTools(rawServer, opts = {}, sink = null) {
|
|
|
6061
6061
|
// an account that has not accepted it — and may never.
|
|
6062
6062
|
// A PUBLISH CAN SUCCEED AND STILL DROP PART OF THE POST (Instagram's config_issue / caption add-on status): the note
|
|
6063
6063
|
// says what went out without its caption, tags, poll or prompt, so "it's live" is never the whole story told.
|
|
6064
|
-
return ok(`Published ${d.carousel ? `a ${d.slides}-slide CAROUSEL ` : a.story ? 'a 24-hour STORY ' : ''}to ${d.account || d.page || d.target}${d.url ? ` — ${d.url}` : ''} (post ${d.postId}).${d.collaboratorNote ? ` ${d.collaboratorNote}` : ''}${d.publishIssuesNote ? ` ${d.publishIssuesNote}` : ''}`, d);
|
|
6064
|
+
return ok(`Published ${d.carousel ? `a ${d.slides}-slide CAROUSEL ` : a.story ? 'a 24-hour STORY ' : ''}to ${d.account || d.page || d.target}${d.url ? ` — ${d.url}` : ''} (post ${d.postId}).${d.collaboratorNote ? ` ${d.collaboratorNote}` : ''}${d.publishIssuesNote ? ` ${d.publishIssuesNote}` : ''}${d.mediaConformedNote ? ` ${d.mediaConformedNote}` : ''}`, d);
|
|
6065
6065
|
}));
|
|
6066
6066
|
// ── SCHEDULING (2026-07-30). ONE mechanism for every channel — our durable queue, not a per-platform special case.
|
|
6067
6067
|
// Product feedback: "if only Facebook can do scheduling, then maybe we just do all the scheduling ourselves. There's probably
|
|
@@ -6656,13 +6656,13 @@ function buildTools(rawServer, opts = {}, sink = null) {
|
|
|
6656
6656
|
dmDeepLink: z.union([z.string(), z.boolean()]).optional().describe('a "Message us" button: true for the connected account, or https://x.com/messages/compose?recipient_id=<id>. TEXT posts only \u2014 X refuses it alongside media.'),
|
|
6657
6657
|
platformCover: z.boolean().optional().describe('VIDEO COVER. X has no cover setting and shows the video\u2019s FIRST frame, so by default Hermoso checks it and, only when that frame is blank (a template ad\u2019s empty opening card), sends X a copy with the first frame replaced by the video\u2019s best frame. Your Library file is never changed. true = send the file exactly as it is.'),
|
|
6658
6658
|
},
|
|
6659
|
-
outputSchema: { ok: z.boolean().optional(), id: z.string().optional(), url: z.string().optional(), thread: z.boolean().optional(), media: z.boolean().optional(), altText: z.boolean().optional(), poll: z.boolean().optional(), costCredits: z.number().optional(), posts: z.array(z.object({ id: z.string().optional(), text: z.string().optional(), url: z.string().optional() })).optional(), quotedPostId: z.string().optional(), communityId: z.string().optional(), paidPartnership: z.boolean().optional() },
|
|
6659
|
+
outputSchema: { ok: z.boolean().optional(), id: z.string().optional(), url: z.string().optional(), thread: z.boolean().optional(), media: z.boolean().optional(), altText: z.boolean().optional(), poll: z.boolean().optional(), mediaNote: z.string().optional(), costCredits: z.number().optional(), posts: z.array(z.object({ id: z.string().optional(), text: z.string().optional(), url: z.string().optional() })).optional(), quotedPostId: z.string().optional(), communityId: z.string().optional(), paidPartnership: z.boolean().optional() },
|
|
6660
6660
|
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true },
|
|
6661
6661
|
}, wrap(async (a) => {
|
|
6662
6662
|
const d = await apiPost('/api/x/post', a);
|
|
6663
6663
|
if (d && d.dryRun === true) return ok(`Not posted (price check). This ${Array.isArray(a.thread) && a.thread.length > 1 ? `${a.thread.length}-post thread` : 'post'} costs ${d.costCredits} credits at X's per-post price. ${d.note || ''}`.trim(), d);
|
|
6664
6664
|
const extra = d.media ? (d.altText ? ' with the render + alt text' : ' with the render attached (no alt text was written)') : d.poll ? ' with a poll' : '';
|
|
6665
|
-
return ok(`Published to X${d.thread ? ` — a ${(d.posts || []).length}-post thread` : ''}${extra}: ${d.url}. Cost ${d.costCredits ?? '?'} credits
|
|
6665
|
+
return ok(`Published to X${d.thread ? ` — a ${(d.posts || []).length}-post thread` : ''}${extra}: ${d.url}. Cost ${d.costCredits ?? '?'} credits.${d.mediaNote ? ` ${d.mediaNote}` : ''}`, d);
|
|
6666
6666
|
}));
|
|
6667
6667
|
server.registerTool('post_x_article', {
|
|
6668
6668
|
title: 'Publish a long-form Article to X',
|
|
@@ -7859,11 +7859,11 @@ function buildTools(rawServer, opts = {}, sink = null) {
|
|
|
7859
7859
|
}));
|
|
7860
7860
|
server.registerTool('x_follows', {
|
|
7861
7861
|
title: 'Who follows an X account (or who it follows)',
|
|
7862
|
-
description: 'The follower or following LIST for an X account \u2014 handles, names, bios, locations and each one\u2019s own follower/following/post counts. The COUNTS are already free on x_account and x_user; this is WHO, which is what audience analysis and creator vetting actually need. With no username it reads the CONNECTED account (\u201cwho follows us\u201d); pass a handle to read anyone public (\u201cwho follows our competitor\u201d). Warning: NEEDS THE follows.read PERMISSION, added 2026-08-31: an X connection authorized before that date does NOT carry it and cannot have it added \u2014 the tool says so and asks for a reconnect rather than surfacing X\u2019s raw refusal.
|
|
7862
|
+
description: 'The follower or following LIST for an X account \u2014 handles, names, bios, locations and each one\u2019s own follower/following/post counts. The COUNTS are already free on x_account and x_user; this is WHO, which is what audience analysis and creator vetting actually need. With no username it reads the CONNECTED account (\u201cwho follows us\u201d); pass a handle to read anyone public (\u201cwho follows our competitor\u201d). Warning: NEEDS THE follows.read PERMISSION, added 2026-08-31: an X connection authorized before that date does NOT carry it and cannot have it added \u2014 the tool says so and asks for a reconnect rather than surfacing X\u2019s raw refusal. Default 20, max 100 per call (X bills per account returned); page with nextToken. Needs X connected.',
|
|
7863
7863
|
inputSchema: {
|
|
7864
7864
|
username: z.string().optional().describe('handle with or without the @ \u2014 omit to read the connected account'),
|
|
7865
7865
|
direction: z.enum(['followers', 'following']).optional().describe('default followers'),
|
|
7866
|
-
maxResults: z.number().optional().describe('1\u2013100, default
|
|
7866
|
+
maxResults: z.number().optional().describe('1\u2013100, default 20'),
|
|
7867
7867
|
paginationToken: z.string().optional().describe('next page token from the previous reply'),
|
|
7868
7868
|
},
|
|
7869
7869
|
annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: true },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hermoso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.479",
|
|
4
4
|
"mcpName": "io.github.hermoso-ai/hermoso",
|
|
5
5
|
"description": "AI marketing agent and AI ad generator, run from your own AI agent. 1089 tools. No markup on models. Publishing, scheduling, ad campaign management, comments, DMs and analytics are free on every plan. AD PLATFORMS: Meta, Google Ads, TikTok Ads, LinkedIn Ads, Reddit Ads, X Ads, Pinterest Ads, Snapchat Ads, Microsoft Advertising, Apple Search Ads, ChatGPT Ads and AppLovin Ads, plus product feeds in Google Merchant Center. PUBLISHING AND SCHEDULING: Facebook, Instagram, Threads, TikTok, YouTube, X, LinkedIn, Pinterest, Bluesky, Telegram and Google Business Profile. INSTAGRAM DM AUTOMATIONS: a keyword comment, a DM, a story reply or an ig.me link gets an automatic private reply from the brand. AD RESEARCH: the Meta, Google and LinkedIn ad libraries plus organic TikTok, Instagram, YouTube, Threads and Reddit. ANALYTICS: Google Analytics 4, Google Search Console and every connected platform's own post and campaign insights. Also brand onboarding, 50+ image and video generation models, ad scoring, competitor teardowns, Google Drive and OneDrive, a CLI and installable Claude skills.",
|
|
6
6
|
"type": "module",
|