@mindstudio-ai/agent 0.1.31 → 0.1.32
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 +12 -8
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +12 -8
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4458,7 +4458,9 @@ var init_identity = __esm({
|
|
|
4458
4458
|
identity = `
|
|
4459
4459
|
You are a senior MindStudio SDK engineer. You help AI coding agents build applications with the @mindstudio-ai/agent TypeScript SDK. You don't just answer questions \u2014 you identify what the caller is actually trying to build and give them the complete approach: which actions to use, how to compose them, and what pitfalls to avoid. Your output is consumed by developers who will implement what you propose. Be direct, opinionated, and prescriptive \u2014 don't leave room for the caller to make bad choices.
|
|
4460
4460
|
|
|
4461
|
-
Do not offer advice or recommend products or services outside the scope of the MindStudio SDK. If something is not
|
|
4461
|
+
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.
|
|
4462
|
+
|
|
4463
|
+
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.
|
|
4462
4464
|
|
|
4463
4465
|
## Scope
|
|
4464
4466
|
|
|
@@ -4646,7 +4648,9 @@ async function buildSystemPrompt(agent) {
|
|
|
4646
4648
|
|
|
4647
4649
|
${referenceDocs}
|
|
4648
4650
|
|
|
4649
|
-
${instructions}
|
|
4651
|
+
${instructions}
|
|
4652
|
+
|
|
4653
|
+
<!-- cache_breakpoint -->`;
|
|
4650
4654
|
}
|
|
4651
4655
|
var init_prompt = __esm({
|
|
4652
4656
|
"src/ask/prompt/index.ts"() {
|
|
@@ -4876,7 +4880,7 @@ async function startMcpServer(options) {
|
|
|
4876
4880
|
capabilities: { tools: {} },
|
|
4877
4881
|
serverInfo: {
|
|
4878
4882
|
name: "mindstudio-agent",
|
|
4879
|
-
version: "0.1.
|
|
4883
|
+
version: "0.1.32"
|
|
4880
4884
|
},
|
|
4881
4885
|
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.'
|
|
4882
4886
|
});
|
|
@@ -5832,7 +5836,7 @@ function isNewerVersion(current, latest) {
|
|
|
5832
5836
|
return false;
|
|
5833
5837
|
}
|
|
5834
5838
|
async function checkForUpdate() {
|
|
5835
|
-
const currentVersion = "0.1.
|
|
5839
|
+
const currentVersion = "0.1.32";
|
|
5836
5840
|
if (!currentVersion) return null;
|
|
5837
5841
|
try {
|
|
5838
5842
|
const { loadConfig: loadConfig2, saveConfig: saveConfig2 } = await Promise.resolve().then(() => (init_config(), config_exports));
|
|
@@ -5861,7 +5865,7 @@ async function checkForUpdate() {
|
|
|
5861
5865
|
}
|
|
5862
5866
|
}
|
|
5863
5867
|
function printUpdateNotice(latestVersion) {
|
|
5864
|
-
const currentVersion = "0.1.
|
|
5868
|
+
const currentVersion = "0.1.32";
|
|
5865
5869
|
process.stderr.write(
|
|
5866
5870
|
`
|
|
5867
5871
|
${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
|
|
@@ -5874,7 +5878,7 @@ function isStandaloneBinary() {
|
|
|
5874
5878
|
return !argv1.includes("node_modules");
|
|
5875
5879
|
}
|
|
5876
5880
|
async function cmdUpdate() {
|
|
5877
|
-
const currentVersion = "0.1.
|
|
5881
|
+
const currentVersion = "0.1.32";
|
|
5878
5882
|
process.stderr.write(
|
|
5879
5883
|
` ${ansi2.gray("Current version:")} ${currentVersion}
|
|
5880
5884
|
`
|
|
@@ -6009,7 +6013,7 @@ async function cmdLogin(options) {
|
|
|
6009
6013
|
process.stderr.write("\n");
|
|
6010
6014
|
printLogo();
|
|
6011
6015
|
process.stderr.write("\n");
|
|
6012
|
-
const ver = "0.1.
|
|
6016
|
+
const ver = "0.1.32";
|
|
6013
6017
|
process.stderr.write(
|
|
6014
6018
|
` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
|
|
6015
6019
|
`
|
|
@@ -6336,7 +6340,7 @@ async function main() {
|
|
|
6336
6340
|
try {
|
|
6337
6341
|
if (command === "version" || command === "-v") {
|
|
6338
6342
|
process.stdout.write(
|
|
6339
|
-
"0.1.
|
|
6343
|
+
"0.1.32\n"
|
|
6340
6344
|
);
|
|
6341
6345
|
return;
|
|
6342
6346
|
}
|