@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/postinstall.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
|
});
|
|
@@ -5678,7 +5680,7 @@ function isNewerVersion(current, latest) {
|
|
|
5678
5680
|
return false;
|
|
5679
5681
|
}
|
|
5680
5682
|
async function checkForUpdate() {
|
|
5681
|
-
const currentVersion = "0.1.
|
|
5683
|
+
const currentVersion = "0.1.29";
|
|
5682
5684
|
if (!currentVersion) return null;
|
|
5683
5685
|
try {
|
|
5684
5686
|
const { loadConfig: loadConfig2, saveConfig: saveConfig2 } = await Promise.resolve().then(() => (init_config(), config_exports));
|
|
@@ -5707,7 +5709,7 @@ async function checkForUpdate() {
|
|
|
5707
5709
|
}
|
|
5708
5710
|
}
|
|
5709
5711
|
function printUpdateNotice(latestVersion) {
|
|
5710
|
-
const currentVersion = "0.1.
|
|
5712
|
+
const currentVersion = "0.1.29";
|
|
5711
5713
|
process.stderr.write(
|
|
5712
5714
|
`
|
|
5713
5715
|
${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
|
|
@@ -5720,7 +5722,7 @@ function isStandaloneBinary() {
|
|
|
5720
5722
|
return !argv1.includes("node_modules");
|
|
5721
5723
|
}
|
|
5722
5724
|
async function cmdUpdate() {
|
|
5723
|
-
const currentVersion = "0.1.
|
|
5725
|
+
const currentVersion = "0.1.29";
|
|
5724
5726
|
process.stderr.write(
|
|
5725
5727
|
` ${ansi2.gray("Current version:")} ${currentVersion}
|
|
5726
5728
|
`
|
|
@@ -5835,7 +5837,7 @@ async function cmdLogin(options) {
|
|
|
5835
5837
|
process.stderr.write("\n");
|
|
5836
5838
|
printLogo();
|
|
5837
5839
|
process.stderr.write("\n");
|
|
5838
|
-
const ver = "0.1.
|
|
5840
|
+
const ver = "0.1.29";
|
|
5839
5841
|
process.stderr.write(
|
|
5840
5842
|
` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
|
|
5841
5843
|
`
|
|
@@ -6146,7 +6148,7 @@ async function main() {
|
|
|
6146
6148
|
try {
|
|
6147
6149
|
if (command === "version" || command === "-v") {
|
|
6148
6150
|
process.stdout.write(
|
|
6149
|
-
"0.1.
|
|
6151
|
+
"0.1.29\n"
|
|
6150
6152
|
);
|
|
6151
6153
|
return;
|
|
6152
6154
|
}
|