hermoso 0.1.14 → 0.1.15
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 +2 -2
- package/package.json +1 -1
package/mcp/tools.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { z } from 'zod';
|
|
|
7
7
|
import { apiGet, apiPost, apiPut, apiSSE, submitJob, getJob, jobResult, pollJob, toRef, apiUpload, isRemote, API_BASE, PROFILE, mcpCtx } from './client.mjs';
|
|
8
8
|
import { readFile } from 'node:fs/promises';
|
|
9
9
|
|
|
10
|
-
const JOB_TIMEOUT = +(process.env.HERMOSO_JOB_TIMEOUT_MS || 10 * 60 * 1000);
|
|
10
|
+
const JOB_TIMEOUT = +(process.env.HERMOSO_JOB_TIMEOUT_MS || process.env.HEIST_JOB_TIMEOUT_MS || 10 * 60 * 1000);
|
|
11
11
|
const abs = (u) => (u && u.startsWith('/') ? API_BASE + u : u); // /generated/x.mp4 → clickable absolute URL
|
|
12
12
|
// Null-valued keys are STRIPPED from structuredContent (2026-07-20): the SDK validates results against outputSchema
|
|
13
13
|
// server-side, and zod .optional() rejects null — a single null field (e.g. editCredits:null on a key-less deploy)
|
|
@@ -784,7 +784,7 @@ export function registerTools(server) {
|
|
|
784
784
|
}));
|
|
785
785
|
server.registerTool('create_drive_folder', {
|
|
786
786
|
title: 'Create a Drive folder',
|
|
787
|
-
description: 'Create a folder in the user’s Google Drive (optionally nested under parentId) to organize saved files. Returns the folder id + webViewLink.
|
|
787
|
+
description: 'Create a folder in the user’s Google Drive (optionally nested under parentId) to organize saved files. Returns the folder id + webViewLink. Use that ID as update_drive_file’s moveToFolderId or as parentId for a nested folder. NOTE: save_to_drive’s `folder` is a NAME, not this id — it find-or-creates a folder by that name, so pass the folder NAME there (or omit and just save, then move with update_drive_file).',
|
|
788
788
|
inputSchema: {
|
|
789
789
|
name: z.string().describe('folder name'),
|
|
790
790
|
parentId: z.string().optional().describe('parent folder id for a nested folder (default: Drive root)'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hermoso",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
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",
|