@mindstudio-ai/agent 0.1.39 → 0.1.40
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 +8 -7
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +8 -7
- package/package.json +1 -1
package/dist/postinstall.js
CHANGED
|
@@ -4812,7 +4812,8 @@ var init_instructions = __esm({
|
|
|
4812
4812
|
- **Never rank vendors** or claim one provider is better than another. Popularity reflects usage patterns, not quality judgments. Present options with their model IDs and let the caller choose. Never make assumptions about the capabilities of models, or suggest that a certain model is "good" at a specific task or better/worse than another at a task.
|
|
4813
4813
|
- **Prefer popular models as defaults** in code examples unless the caller has a reason to use something specific.
|
|
4814
4814
|
- **Always recommend latest-generation models**: For Anthropic, this is Claude 4 family, GPT-5 for OpenAI, Gemini 3 for Google, etc. MindStudio supports a ton of different models, including legacy models - but they are there for niche uses or backward compatibility/existing user requirements - they should NOT be used for new projects.
|
|
4815
|
-
- Use the names of model input objects to infer capabilities
|
|
4815
|
+
- Use the names of model input objects to infer **technical capabilities** \u2014 e.g., a model with a source image input supports image editing, a video model with start/end frame supports looping. Do not look at model tags or descriptions to determine capabilities.
|
|
4816
|
+
- **Do NOT use config presets/enums to judge model quality or recommend models.** A model having style presets (e.g. "oil painting", "watercolor") does NOT make it better at those styles than models without presets. The recommended models (Seedream, Nano Banana Pro, etc.) are far more capable and achieve any style through prompting alone. Presets are a crutch for weaker models \u2014 never recommend a model just because it has an enum that matches the user's request.
|
|
4816
4817
|
- **Never set maxResponseTokens to a low value.** Many models use extended thinking/reasoning that counts against the token limit. Setting maxResponseTokens to 256 or 512 will cause truncated or failed responses. Either omit it entirely (let the model's default handle it) or set it high (e.g. 16000+). Models stop generating on their own when the response is complete \u2014 a low cap does not save money, it just breaks output.
|
|
4817
4818
|
|
|
4818
4819
|
## Explicit preferences
|
|
@@ -5123,7 +5124,7 @@ async function startMcpServer(options) {
|
|
|
5123
5124
|
capabilities: { tools: {} },
|
|
5124
5125
|
serverInfo: {
|
|
5125
5126
|
name: "mindstudio-agent",
|
|
5126
|
-
version: "0.1.
|
|
5127
|
+
version: "0.1.40"
|
|
5127
5128
|
},
|
|
5128
5129
|
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 or icon, call `uploadFile` to upload it, then `changeProfilePicture` with the returned URL.\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.'
|
|
5129
5130
|
});
|
|
@@ -5984,7 +5985,7 @@ function isNewerVersion(current, latest) {
|
|
|
5984
5985
|
return false;
|
|
5985
5986
|
}
|
|
5986
5987
|
async function checkForUpdate() {
|
|
5987
|
-
const currentVersion = "0.1.
|
|
5988
|
+
const currentVersion = "0.1.40";
|
|
5988
5989
|
if (!currentVersion) return null;
|
|
5989
5990
|
try {
|
|
5990
5991
|
const { loadConfig: loadConfig2, saveConfig: saveConfig2 } = await Promise.resolve().then(() => (init_config(), config_exports));
|
|
@@ -6013,7 +6014,7 @@ async function checkForUpdate() {
|
|
|
6013
6014
|
}
|
|
6014
6015
|
}
|
|
6015
6016
|
function printUpdateNotice(latestVersion) {
|
|
6016
|
-
const currentVersion = "0.1.
|
|
6017
|
+
const currentVersion = "0.1.40";
|
|
6017
6018
|
process.stderr.write(
|
|
6018
6019
|
`
|
|
6019
6020
|
${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
|
|
@@ -6026,7 +6027,7 @@ function isStandaloneBinary() {
|
|
|
6026
6027
|
return !argv1.includes("node_modules");
|
|
6027
6028
|
}
|
|
6028
6029
|
async function cmdUpdate() {
|
|
6029
|
-
const currentVersion = "0.1.
|
|
6030
|
+
const currentVersion = "0.1.40";
|
|
6030
6031
|
process.stderr.write(
|
|
6031
6032
|
` ${ansi2.gray("Current version:")} ${currentVersion}
|
|
6032
6033
|
`
|
|
@@ -6141,7 +6142,7 @@ async function cmdLogin(options) {
|
|
|
6141
6142
|
process.stderr.write("\n");
|
|
6142
6143
|
printLogo();
|
|
6143
6144
|
process.stderr.write("\n");
|
|
6144
|
-
const ver = "0.1.
|
|
6145
|
+
const ver = "0.1.40";
|
|
6145
6146
|
process.stderr.write(
|
|
6146
6147
|
` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
|
|
6147
6148
|
`
|
|
@@ -6452,7 +6453,7 @@ async function main() {
|
|
|
6452
6453
|
try {
|
|
6453
6454
|
if (command === "version" || command === "-v") {
|
|
6454
6455
|
process.stdout.write(
|
|
6455
|
-
"0.1.
|
|
6456
|
+
"0.1.40\n"
|
|
6456
6457
|
);
|
|
6457
6458
|
return;
|
|
6458
6459
|
}
|