@mindstudio-ai/agent 0.1.160 → 0.1.161
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 +2 -2
- 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/cli.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, 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
|
|
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. Default: 3." }, "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) to 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.161"
|
|
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
|
});
|
|
@@ -10567,7 +10567,7 @@ function isNewerVersion(current, latest) {
|
|
|
10567
10567
|
return false;
|
|
10568
10568
|
}
|
|
10569
10569
|
async function checkForUpdate() {
|
|
10570
|
-
const currentVersion = "0.1.
|
|
10570
|
+
const currentVersion = "0.1.161";
|
|
10571
10571
|
if (!currentVersion || process.env.MINDSTUDIO_NO_UPDATE_CHECK) {
|
|
10572
10572
|
return null;
|
|
10573
10573
|
}
|
|
@@ -10602,7 +10602,7 @@ async function checkForUpdate() {
|
|
|
10602
10602
|
}
|
|
10603
10603
|
}
|
|
10604
10604
|
function printUpdateNotice(latestVersion) {
|
|
10605
|
-
const currentVersion = "0.1.
|
|
10605
|
+
const currentVersion = "0.1.161";
|
|
10606
10606
|
process.stderr.write(
|
|
10607
10607
|
`
|
|
10608
10608
|
${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
|
|
@@ -10615,7 +10615,7 @@ function isStandaloneBinary() {
|
|
|
10615
10615
|
return !argv1.includes("node_modules");
|
|
10616
10616
|
}
|
|
10617
10617
|
async function cmdUpdate() {
|
|
10618
|
-
const currentVersion = "0.1.
|
|
10618
|
+
const currentVersion = "0.1.161";
|
|
10619
10619
|
process.stderr.write(
|
|
10620
10620
|
` ${ansi2.gray("Current version:")} ${currentVersion}
|
|
10621
10621
|
`
|
|
@@ -10756,7 +10756,7 @@ async function cmdLogin(options) {
|
|
|
10756
10756
|
process.stderr.write("\n");
|
|
10757
10757
|
printLogo();
|
|
10758
10758
|
process.stderr.write("\n");
|
|
10759
|
-
const ver = "0.1.
|
|
10759
|
+
const ver = "0.1.161";
|
|
10760
10760
|
process.stderr.write(
|
|
10761
10761
|
` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
|
|
10762
10762
|
`
|
|
@@ -11084,7 +11084,7 @@ async function main() {
|
|
|
11084
11084
|
const updatePromise = command !== "mcp" && command !== "login" && command !== "update" ? checkForUpdate() : Promise.resolve(null);
|
|
11085
11085
|
try {
|
|
11086
11086
|
if (command === "version" || command === "-v") {
|
|
11087
|
-
process.stdout.write("0.1.
|
|
11087
|
+
process.stdout.write("0.1.161\n");
|
|
11088
11088
|
return;
|
|
11089
11089
|
}
|
|
11090
11090
|
if (command === "login") {
|
package/dist/index.d.ts
CHANGED
|
@@ -5162,13 +5162,13 @@ interface AddSubtitlesToVideoStepInput {
|
|
|
5162
5162
|
fontColor: "white" | "black" | "red" | "green" | "blue" | "yellow" | "orange" | "purple" | "pink" | "brown" | "gray" | "cyan" | "magenta";
|
|
5163
5163
|
/** Color used to highlight the currently spoken word */
|
|
5164
5164
|
highlightColor: "white" | "black" | "red" | "green" | "blue" | "yellow" | "orange" | "purple" | "pink" | "brown" | "gray" | "cyan" | "magenta";
|
|
5165
|
-
/** Width of the text stroke outline in pixels, 0 to 10 */
|
|
5165
|
+
/** Width of the text stroke outline in pixels, 0 to 10. Default: 3. */
|
|
5166
5166
|
strokeWidth: number;
|
|
5167
5167
|
/** Color of the text stroke outline */
|
|
5168
5168
|
strokeColor: "black" | "white" | "red" | "green" | "blue" | "yellow" | "orange" | "purple" | "pink" | "brown" | "gray" | "cyan" | "magenta";
|
|
5169
5169
|
/** Background color behind subtitle text. Use 'none' for transparent. */
|
|
5170
5170
|
backgroundColor: "black" | "white" | "red" | "green" | "blue" | "yellow" | "orange" | "purple" | "pink" | "brown" | "gray" | "cyan" | "magenta" | "none";
|
|
5171
|
-
/** Opacity of the subtitle background
|
|
5171
|
+
/** Opacity of the subtitle background, 0.0 (fully transparent) to 1.0 (fully opaque). */
|
|
5172
5172
|
backgroundOpacity: number;
|
|
5173
5173
|
/** Vertical position of subtitle text on screen */
|
|
5174
5174
|
position: "top" | "center" | "bottom";
|
package/dist/index.js
CHANGED
|
@@ -4121,7 +4121,7 @@ var stepMetadata = {
|
|
|
4121
4121
|
stepType: "addSubtitlesToVideo",
|
|
4122
4122
|
description: "Automatically add subtitles to a video",
|
|
4123
4123
|
usageNotes: "- Can control style of text and animation",
|
|
4124
|
-
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
|
|
4124
|
+
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. Default: 3." }, "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) to 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"] },
|
|
4125
4125
|
outputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the video with subtitles added" } }, "required": ["videoUrl"] }
|
|
4126
4126
|
},
|
|
4127
4127
|
"addThumbnailToVideo": {
|