@mindstudio-ai/agent 0.1.159 → 0.1.160
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/dist/cli.js +7 -7
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +7 -7
- package/package.json +1 -1
package/dist/postinstall.js
CHANGED
|
@@ -37,7 +37,7 @@ var init_metadata = __esm({
|
|
|
37
37
|
stepType: "addSubtitlesToVideo",
|
|
38
38
|
description: "Automatically add subtitles to a video",
|
|
39
39
|
usageNotes: "- Can control style of text and animation",
|
|
40
|
-
inputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the source video" }, "language": { "type": "string", "description": "ISO language code for subtitle transcription" }, "fontName": { "type": "string", "description": "Google Font name for subtitle text" }, "fontSize": { "type": "number", "description": "Font size in pixels. Default: 100." }, "fontWeight": { "enum": ["normal", "bold", "black"], "type": "string", "description": "Font weight for subtitle text" }, "fontColor": { "enum": ["white", "black", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"], "type": "string", "description": "Color of the subtitle text" }, "highlightColor": { "enum": ["white", "black", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"], "type": "string", "description": "Color used to highlight the currently spoken word" }, "strokeWidth": { "type": "number", "description": "Width of the text stroke outline in pixels" }, "strokeColor": { "enum": ["black", "white", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"], "type": "string", "description": "Color of the text stroke outline" }, "backgroundColor": { "enum": ["black", "white", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta", "none"], "type": "string", "description": "Background color behind subtitle text. Use 'none' for transparent." }, "backgroundOpacity": { "type": "number", "description": "Opacity of the subtitle background. 0.0 = fully transparent, 1.0 = fully opaque." }, "position": { "enum": ["top", "center", "bottom"], "type": "string", "description": "Vertical position of subtitle text on screen" }, "yOffset": { "type": "number", "description": "Vertical offset in pixels from the position. Positive moves down, negative moves up. Default: 75." }, "wordsPerSubtitle": { "type": "number", "description": "Maximum number of words per subtitle segment. Use 1 for single-word display, 2-3 for short phrases, or 8-12 for full sentences. Default: 3." }, "enableAnimation": { "type": "boolean", "description": "When true, enables bounce-style entrance animation for subtitles. Default: true." }, "intermediateAsset": { "type": "boolean", "description": "When true, the asset is created but hidden from the user's gallery (tagged as intermediate)" } }, "required": ["videoUrl", "language", "fontName", "fontSize", "fontWeight", "fontColor", "highlightColor", "strokeWidth", "strokeColor", "backgroundColor", "backgroundOpacity", "position", "yOffset", "wordsPerSubtitle", "enableAnimation"] },
|
|
40
|
+
inputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the source video" }, "language": { "type": "string", "description": "ISO language code for subtitle transcription" }, "fontName": { "type": "string", "description": "Google Font name for subtitle text" }, "fontSize": { "type": "number", "description": "Font size in pixels, 20 to 150. Default: 100." }, "fontWeight": { "enum": ["normal", "bold", "black"], "type": "string", "description": "Font weight for subtitle text" }, "fontColor": { "enum": ["white", "black", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"], "type": "string", "description": "Color of the subtitle text" }, "highlightColor": { "enum": ["white", "black", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"], "type": "string", "description": "Color used to highlight the currently spoken word" }, "strokeWidth": { "type": "number", "description": "Width of the text stroke outline in pixels, 0 to 10" }, "strokeColor": { "enum": ["black", "white", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"], "type": "string", "description": "Color of the text stroke outline" }, "backgroundColor": { "enum": ["black", "white", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta", "none"], "type": "string", "description": "Background color behind subtitle text. Use 'none' for transparent." }, "backgroundOpacity": { "type": "number", "description": "Opacity of the subtitle background. 0.0 = fully transparent, 1.0 = fully opaque." }, "position": { "enum": ["top", "center", "bottom"], "type": "string", "description": "Vertical position of subtitle text on screen" }, "yOffset": { "type": "number", "description": "Vertical offset in pixels from the position, -200 to 200. Positive moves down, negative moves up. Default: 75." }, "wordsPerSubtitle": { "type": "number", "description": "Maximum number of words per subtitle segment, 1 to 12. Use 1 for single-word display, 2-3 for short phrases, or 8-12 for full sentences. Default: 3." }, "enableAnimation": { "type": "boolean", "description": "When true, enables bounce-style entrance animation for subtitles. Default: true." }, "intermediateAsset": { "type": "boolean", "description": "When true, the asset is created but hidden from the user's gallery (tagged as intermediate)" } }, "required": ["videoUrl", "language", "fontName", "fontSize", "fontWeight", "fontColor", "highlightColor", "strokeWidth", "strokeColor", "backgroundColor", "backgroundOpacity", "position", "yOffset", "wordsPerSubtitle", "enableAnimation"] },
|
|
41
41
|
outputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the video with subtitles added" } }, "required": ["videoUrl"] }
|
|
42
42
|
},
|
|
43
43
|
"addThumbnailToVideo": {
|
|
@@ -9549,7 +9549,7 @@ async function startMcpServer(options) {
|
|
|
9549
9549
|
capabilities: { tools: {} },
|
|
9550
9550
|
serverInfo: {
|
|
9551
9551
|
name: "mindstudio-agent",
|
|
9552
|
-
version: "0.1.
|
|
9552
|
+
version: "0.1.160"
|
|
9553
9553
|
},
|
|
9554
9554
|
instructions: 'Welcome to MindStudio \u2014 a platform with 200+ AI models, 850+ third-party integrations, and pre-built agents.\n\nGetting started:\n1. Call `ask` with any question about the SDK \u2014 it knows every action, model, and connector and returns working code with real model IDs and config options. Examples: ask("generate an image with FLUX"), ask("what models support vision?"), ask("how do I send a Slack message?").\n2. Call `changeName` to set your display name \u2014 use your name or whatever your user calls you. This is how you\'ll appear in MindStudio request logs.\n3. If you have a profile picture, pass its public image URL to `changeProfilePicture`.\n4. For manual browsing, call `listActions` to discover all available actions.\n\nThen use the tools to generate text, images, video, audio, search the web, work with data sources, run agents, and more.\n\nImportant:\n- AI-powered actions (text generation, image generation, video, audio, etc.) cost money. Before running these, call `estimateActionCost` and confirm with the user before proceeding \u2014 unless they\'ve explicitly told you to go ahead.\n- Not all agents from `listAgents` are configured for API use. Do not try to run an agent just because it appears in the list \u2014 it will likely fail. Only run agents the user specifically asks you to run.'
|
|
9555
9555
|
});
|
|
@@ -10470,7 +10470,7 @@ function isNewerVersion(current, latest) {
|
|
|
10470
10470
|
return false;
|
|
10471
10471
|
}
|
|
10472
10472
|
async function checkForUpdate() {
|
|
10473
|
-
const currentVersion = "0.1.
|
|
10473
|
+
const currentVersion = "0.1.160";
|
|
10474
10474
|
if (!currentVersion || process.env.MINDSTUDIO_NO_UPDATE_CHECK) {
|
|
10475
10475
|
return null;
|
|
10476
10476
|
}
|
|
@@ -10505,7 +10505,7 @@ async function checkForUpdate() {
|
|
|
10505
10505
|
}
|
|
10506
10506
|
}
|
|
10507
10507
|
function printUpdateNotice(latestVersion) {
|
|
10508
|
-
const currentVersion = "0.1.
|
|
10508
|
+
const currentVersion = "0.1.160";
|
|
10509
10509
|
process.stderr.write(
|
|
10510
10510
|
`
|
|
10511
10511
|
${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
|
|
@@ -10518,7 +10518,7 @@ function isStandaloneBinary() {
|
|
|
10518
10518
|
return !argv1.includes("node_modules");
|
|
10519
10519
|
}
|
|
10520
10520
|
async function cmdUpdate() {
|
|
10521
|
-
const currentVersion = "0.1.
|
|
10521
|
+
const currentVersion = "0.1.160";
|
|
10522
10522
|
process.stderr.write(
|
|
10523
10523
|
` ${ansi2.gray("Current version:")} ${currentVersion}
|
|
10524
10524
|
`
|
|
@@ -10639,7 +10639,7 @@ async function cmdLogin(options) {
|
|
|
10639
10639
|
process.stderr.write("\n");
|
|
10640
10640
|
printLogo();
|
|
10641
10641
|
process.stderr.write("\n");
|
|
10642
|
-
const ver = "0.1.
|
|
10642
|
+
const ver = "0.1.160";
|
|
10643
10643
|
process.stderr.write(
|
|
10644
10644
|
` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
|
|
10645
10645
|
`
|
|
@@ -10951,7 +10951,7 @@ async function main() {
|
|
|
10951
10951
|
const updatePromise = command !== "mcp" && command !== "login" && command !== "update" ? checkForUpdate() : Promise.resolve(null);
|
|
10952
10952
|
try {
|
|
10953
10953
|
if (command === "version" || command === "-v") {
|
|
10954
|
-
process.stdout.write("0.1.
|
|
10954
|
+
process.stdout.write("0.1.160\n");
|
|
10955
10955
|
return;
|
|
10956
10956
|
}
|
|
10957
10957
|
if (command === "login") {
|