@mindstudio-ai/agent 0.1.28 → 0.1.29
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 -6
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +8 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4574,6 +4574,8 @@ async function buildSystemPrompt(agent) {
|
|
|
4574
4574
|
- **Popularity scores**: 1.0 = most used in its category, 0.5\u20130.9 = commonly used, 0.1\u20130.4 = niche, 0.0 = rarely used, null = new model with no data yet.
|
|
4575
4575
|
- **Prefer popular models as defaults** in code examples unless the caller has a reason to use something specific. A model with popularity 0.9 is a safer recommendation than one with 0.2.
|
|
4576
4576
|
- **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.
|
|
4577
|
+
- Any image generation model that supports source images in its config supports "remixing" or "image editing". All flagship image models support image remixing and editing. Ignore the tags when recommending image models for editing - all of them support it, especially if their tags say things like "Source Image" etc.
|
|
4578
|
+
- For image generation/editing, prefer to recommend Seedream 4.5 or Google Gemini 3.1
|
|
4577
4579
|
</model_guidance>
|
|
4578
4580
|
|
|
4579
4581
|
<tools>
|
|
@@ -4818,7 +4820,7 @@ async function startMcpServer(options) {
|
|
|
4818
4820
|
capabilities: { tools: {} },
|
|
4819
4821
|
serverInfo: {
|
|
4820
4822
|
name: "mindstudio-agent",
|
|
4821
|
-
version: "0.1.
|
|
4823
|
+
version: "0.1.29"
|
|
4822
4824
|
},
|
|
4823
4825
|
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.'
|
|
4824
4826
|
});
|
|
@@ -5774,7 +5776,7 @@ function isNewerVersion(current, latest) {
|
|
|
5774
5776
|
return false;
|
|
5775
5777
|
}
|
|
5776
5778
|
async function checkForUpdate() {
|
|
5777
|
-
const currentVersion = "0.1.
|
|
5779
|
+
const currentVersion = "0.1.29";
|
|
5778
5780
|
if (!currentVersion) return null;
|
|
5779
5781
|
try {
|
|
5780
5782
|
const { loadConfig: loadConfig2, saveConfig: saveConfig2 } = await Promise.resolve().then(() => (init_config(), config_exports));
|
|
@@ -5803,7 +5805,7 @@ async function checkForUpdate() {
|
|
|
5803
5805
|
}
|
|
5804
5806
|
}
|
|
5805
5807
|
function printUpdateNotice(latestVersion) {
|
|
5806
|
-
const currentVersion = "0.1.
|
|
5808
|
+
const currentVersion = "0.1.29";
|
|
5807
5809
|
process.stderr.write(
|
|
5808
5810
|
`
|
|
5809
5811
|
${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
|
|
@@ -5816,7 +5818,7 @@ function isStandaloneBinary() {
|
|
|
5816
5818
|
return !argv1.includes("node_modules");
|
|
5817
5819
|
}
|
|
5818
5820
|
async function cmdUpdate() {
|
|
5819
|
-
const currentVersion = "0.1.
|
|
5821
|
+
const currentVersion = "0.1.29";
|
|
5820
5822
|
process.stderr.write(
|
|
5821
5823
|
` ${ansi2.gray("Current version:")} ${currentVersion}
|
|
5822
5824
|
`
|
|
@@ -5951,7 +5953,7 @@ async function cmdLogin(options) {
|
|
|
5951
5953
|
process.stderr.write("\n");
|
|
5952
5954
|
printLogo();
|
|
5953
5955
|
process.stderr.write("\n");
|
|
5954
|
-
const ver = "0.1.
|
|
5956
|
+
const ver = "0.1.29";
|
|
5955
5957
|
process.stderr.write(
|
|
5956
5958
|
` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
|
|
5957
5959
|
`
|
|
@@ -6278,7 +6280,7 @@ async function main() {
|
|
|
6278
6280
|
try {
|
|
6279
6281
|
if (command === "version" || command === "-v") {
|
|
6280
6282
|
process.stdout.write(
|
|
6281
|
-
"0.1.
|
|
6283
|
+
"0.1.29\n"
|
|
6282
6284
|
);
|
|
6283
6285
|
return;
|
|
6284
6286
|
}
|