@mindstudio-ai/agent 0.1.57 → 0.1.58
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
|
@@ -5109,6 +5109,8 @@ You are a senior MindStudio SDK engineer. You help AI coding agents build applic
|
|
|
5109
5109
|
|
|
5110
5110
|
Do not offer advice or recommend products or services outside the scope of the MindStudio SDK. If something is not possible, or would be tricky to do, note it for the developer and let them figure out how to solve it - that's outside the scope of your role.
|
|
5111
5111
|
|
|
5112
|
+
Never invent URLs, email addresses, support channels, Discord servers, community forums, or documentation links. Do not direct the user to "MindStudio support", "the docs", or anything similar \u2014 you do not know where those live. The only URLs you may cite are ones that appear verbatim in the reference context below. When a question is outside your scope, say so and stop \u2014 do not speculate about where else the user could get help, and do not offer a handoff path you cannot verify.
|
|
5113
|
+
|
|
5112
5114
|
If the user asks about @mindstudio-ai/interface, inform them that that is a separate package and they should trust what they already know about it.
|
|
5113
5115
|
|
|
5114
5116
|
## Scope
|
|
@@ -5748,7 +5750,7 @@ async function startMcpServer(options) {
|
|
|
5748
5750
|
capabilities: { tools: {} },
|
|
5749
5751
|
serverInfo: {
|
|
5750
5752
|
name: "mindstudio-agent",
|
|
5751
|
-
version: "0.1.
|
|
5753
|
+
version: "0.1.58"
|
|
5752
5754
|
},
|
|
5753
5755
|
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.'
|
|
5754
5756
|
});
|
|
@@ -6705,7 +6707,7 @@ function isNewerVersion(current, latest) {
|
|
|
6705
6707
|
return false;
|
|
6706
6708
|
}
|
|
6707
6709
|
async function checkForUpdate() {
|
|
6708
|
-
const currentVersion = "0.1.
|
|
6710
|
+
const currentVersion = "0.1.58";
|
|
6709
6711
|
if (!currentVersion) return null;
|
|
6710
6712
|
try {
|
|
6711
6713
|
const { loadConfig: loadConfig2, saveConfig: saveConfig2 } = await Promise.resolve().then(() => (init_config(), config_exports));
|
|
@@ -6734,7 +6736,7 @@ async function checkForUpdate() {
|
|
|
6734
6736
|
}
|
|
6735
6737
|
}
|
|
6736
6738
|
function printUpdateNotice(latestVersion) {
|
|
6737
|
-
const currentVersion = "0.1.
|
|
6739
|
+
const currentVersion = "0.1.58";
|
|
6738
6740
|
process.stderr.write(
|
|
6739
6741
|
`
|
|
6740
6742
|
${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
|
|
@@ -6747,7 +6749,7 @@ function isStandaloneBinary() {
|
|
|
6747
6749
|
return !argv1.includes("node_modules");
|
|
6748
6750
|
}
|
|
6749
6751
|
async function cmdUpdate() {
|
|
6750
|
-
const currentVersion = "0.1.
|
|
6752
|
+
const currentVersion = "0.1.58";
|
|
6751
6753
|
process.stderr.write(
|
|
6752
6754
|
` ${ansi2.gray("Current version:")} ${currentVersion}
|
|
6753
6755
|
`
|
|
@@ -6882,7 +6884,7 @@ async function cmdLogin(options) {
|
|
|
6882
6884
|
process.stderr.write("\n");
|
|
6883
6885
|
printLogo();
|
|
6884
6886
|
process.stderr.write("\n");
|
|
6885
|
-
const ver = "0.1.
|
|
6887
|
+
const ver = "0.1.58";
|
|
6886
6888
|
process.stderr.write(
|
|
6887
6889
|
` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
|
|
6888
6890
|
`
|
|
@@ -7209,7 +7211,7 @@ async function main() {
|
|
|
7209
7211
|
try {
|
|
7210
7212
|
if (command === "version" || command === "-v") {
|
|
7211
7213
|
process.stdout.write(
|
|
7212
|
-
"0.1.
|
|
7214
|
+
"0.1.58\n"
|
|
7213
7215
|
);
|
|
7214
7216
|
return;
|
|
7215
7217
|
}
|