@mindstudio-ai/agent 0.1.165 → 0.1.166

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.
@@ -820,7 +820,7 @@ var init_metadata = __esm({
820
820
  "renderVideoFromHtmlComposition": {
821
821
  stepType: "renderVideoFromHtmlComposition",
822
822
  description: "Render an HTML composition (HTML, CSS, media and seekable animation on a timeline) to a video file",
823
- usageNotes: "- Renders an HTML composition in HyperFrames' format (https://hyperframes.heygen.com) with HyperFrames 0.8.143, in Chrome off the app's own sandbox; author for that version\n- Pass the composition as `html`, the page itself (up to 10 MB), or as `project`, the URL of a zip of a project's folder (`index.html` at its root, or the file `entryFile` names) or of one HTML file, up to 2 GiB: an app file or any public URL\n- `variables` overrides the composition's `data-composition-variables` defaults, which it reads with `window.__hyperframes.getVariables()`\n- Whatever the composition loads itself (fonts, scripts, images, video) is fetched as it renders, so each is in the project or at a public URL; a private app file needs a signed URL\n- fps 24, 30 or 60 (default 30); quality draft, standard or high (default standard); format mp4 (default), webm or mov (both keep transparency), or gif\n- An mp4, webm or mov renders in chunks of about 10 seconds side by side, so a long video takes little longer than a short one; a call finishes within about 30 minutes, and reports its progress as it goes. A gif renders whole, within 15 minutes\n- A composition HyperFrames can't render fails with HyperFrames' own reason",
823
+ usageNotes: "- Renders an HTML composition in HyperFrames' format (https://hyperframes.heygen.com) with HyperFrames 0.8.148, in Chrome off the app's own sandbox; author for that version\n- Pass the composition as `html`, the page itself (up to 10 MB), or as `project`, the URL of a zip of a project's folder (`index.html` at its root, or the file `entryFile` names) or of one HTML file, up to 2 GiB: an app file or any public URL\n- `variables` overrides the composition's `data-composition-variables` defaults, which it reads with `window.__hyperframes.getVariables()`\n- Whatever the composition loads itself (fonts, scripts, images, video) is fetched as it renders, so each is in the project or at a public URL; a private app file needs a signed URL\n- fps 24, 30 or 60 (default 30); quality draft, standard or high (default standard); format mp4 (default), webm or mov (both keep transparency), or gif\n- An mp4, webm or mov renders in chunks of about 10 seconds side by side, so a long video takes little longer than a short one; a call finishes within about 30 minutes, and reports its progress as it goes. A gif renders whole, within 15 minutes\n- A composition HyperFrames can't render fails with HyperFrames' own reason",
824
824
  inputSchema: { "type": "object", "properties": { "html": { "type": "string", "description": "The composition's HTML, up to 10 MB; give this or project" }, "project": { "type": "string", "description": "URL of a zip of the project's folder, or of one self-contained HTML file; give this or html" }, "entryFile": { "type": "string", "description": "The entry HTML inside the zip, relative to its root; index.html when omitted" }, "variables": { "type": "object", "properties": {}, "required": [], "description": "Values over the composition's declared variables" }, "fps": { "enum": [24, 30, 60], "type": "number", "description": "Frames per second: 24, 30 (default) or 60" }, "quality": { "enum": ["draft", "standard", "high"], "type": "string", "description": "Encode quality: draft, standard (default) or high" }, "format": { "enum": ["mp4", "webm", "mov", "gif"], "type": "string", "description": "mp4 (default), webm or mov (both keep transparency), or gif" }, "intermediateAsset": { "type": "boolean", "description": "When true, the asset is created but hidden from the user's gallery (tagged as intermediate)" } } },
825
825
  outputSchema: { "type": "object", "properties": { "videoUrl": { "type": "string", "description": "URL of the rendered video" }, "durationSec": { "type": "number", "description": "Its length in seconds" }, "frames": { "type": "number", "description": "How many frames it has" } }, "required": ["videoUrl", "durationSec", "frames"] }
826
826
  },
@@ -9467,7 +9467,7 @@ async function startMcpServer(options) {
9467
9467
  capabilities: { tools: {} },
9468
9468
  serverInfo: {
9469
9469
  name: "mindstudio-agent",
9470
- version: "0.1.165"
9470
+ version: "0.1.166"
9471
9471
  },
9472
9472
  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.'
9473
9473
  });
@@ -10409,7 +10409,7 @@ function isNewerVersion(current, latest) {
10409
10409
  return false;
10410
10410
  }
10411
10411
  async function checkForUpdate() {
10412
- const currentVersion = "0.1.165";
10412
+ const currentVersion = "0.1.166";
10413
10413
  if (!currentVersion || process.env.MINDSTUDIO_NO_UPDATE_CHECK) {
10414
10414
  return null;
10415
10415
  }
@@ -10444,7 +10444,7 @@ async function checkForUpdate() {
10444
10444
  }
10445
10445
  }
10446
10446
  function printUpdateNotice(latestVersion) {
10447
- const currentVersion = "0.1.165";
10447
+ const currentVersion = "0.1.166";
10448
10448
  process.stderr.write(
10449
10449
  `
10450
10450
  ${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
@@ -10457,7 +10457,7 @@ function isStandaloneBinary() {
10457
10457
  return !argv1.includes("node_modules");
10458
10458
  }
10459
10459
  async function cmdUpdate() {
10460
- const currentVersion = "0.1.165";
10460
+ const currentVersion = "0.1.166";
10461
10461
  process.stderr.write(
10462
10462
  ` ${ansi2.gray("Current version:")} ${currentVersion}
10463
10463
  `
@@ -10578,7 +10578,7 @@ async function cmdLogin(options) {
10578
10578
  process.stderr.write("\n");
10579
10579
  printLogo();
10580
10580
  process.stderr.write("\n");
10581
- const ver = "0.1.165";
10581
+ const ver = "0.1.166";
10582
10582
  process.stderr.write(
10583
10583
  ` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
10584
10584
  `
@@ -10890,7 +10890,7 @@ async function main() {
10890
10890
  const updatePromise = command !== "mcp" && command !== "login" && command !== "update" ? checkForUpdate() : Promise.resolve(null);
10891
10891
  try {
10892
10892
  if (command === "version" || command === "-v") {
10893
- process.stdout.write("0.1.165\n");
10893
+ process.stdout.write("0.1.166\n");
10894
10894
  return;
10895
10895
  }
10896
10896
  if (command === "login") {
package/llms.txt CHANGED
@@ -718,7 +718,7 @@ Remove the background from an image using AI, producing a transparent PNG.
718
718
 
719
719
  #### renderVideoFromHtmlComposition
720
720
  Render an HTML composition (HTML, CSS, media and seekable animation on a timeline) to a video file
721
- - Renders an HTML composition in HyperFrames' format (https://hyperframes.heygen.com) with HyperFrames 0.8.143, in Chrome off the app's own sandbox; author for that version
721
+ - Renders an HTML composition in HyperFrames' format (https://hyperframes.heygen.com) with HyperFrames 0.8.148, in Chrome off the app's own sandbox; author for that version
722
722
  - Pass the composition as `html`, the page itself (up to 10 MB), or as `project`, the URL of a zip of a project's folder (`index.html` at its root, or the file `entryFile` names) or of one HTML file, up to 2 GiB: an app file or any public URL
723
723
  - `variables` overrides the composition's `data-composition-variables` defaults, which it reads with `window.__hyperframes.getVariables()`
724
724
  - Whatever the composition loads itself (fonts, scripts, images, video) is fetched as it renders, so each is in the project or at a public URL; a private app file needs a signed URL
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/agent",
3
- "version": "0.1.165",
3
+ "version": "0.1.166",
4
4
  "description": "TypeScript SDK for MindStudio direct step execution",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -65,13 +65,13 @@
65
65
  "sideEffects": false,
66
66
  "devDependencies": {
67
67
  "@fast-check/vitest": "^0.5.0",
68
- "@types/node": "^26.6.4",
68
+ "@types/node": "^26.6.5",
69
69
  "@typescript/native": "npm:typescript@^7.0.2",
70
70
  "esbuild": "^0.28.2",
71
71
  "fast-check": "^4.10.2",
72
72
  "tsup": "^8",
73
73
  "tsx": "^4.23.15",
74
74
  "typescript": "npm:@typescript/typescript6@^6.0.2",
75
- "vitest": "^4.1.11"
75
+ "vitest": "^5.0.3"
76
76
  }
77
77
  }