@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/postinstall.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
|
});
|
|
@@ -5736,7 +5740,7 @@ function isNewerVersion(current, latest) {
|
|
|
5736
5740
|
return false;
|
|
5737
5741
|
}
|
|
5738
5742
|
async function checkForUpdate() {
|
|
5739
|
-
const currentVersion = "0.1.
|
|
5743
|
+
const currentVersion = "0.1.32";
|
|
5740
5744
|
if (!currentVersion) return null;
|
|
5741
5745
|
try {
|
|
5742
5746
|
const { loadConfig: loadConfig2, saveConfig: saveConfig2 } = await Promise.resolve().then(() => (init_config(), config_exports));
|
|
@@ -5765,7 +5769,7 @@ async function checkForUpdate() {
|
|
|
5765
5769
|
}
|
|
5766
5770
|
}
|
|
5767
5771
|
function printUpdateNotice(latestVersion) {
|
|
5768
|
-
const currentVersion = "0.1.
|
|
5772
|
+
const currentVersion = "0.1.32";
|
|
5769
5773
|
process.stderr.write(
|
|
5770
5774
|
`
|
|
5771
5775
|
${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
|
|
@@ -5778,7 +5782,7 @@ function isStandaloneBinary() {
|
|
|
5778
5782
|
return !argv1.includes("node_modules");
|
|
5779
5783
|
}
|
|
5780
5784
|
async function cmdUpdate() {
|
|
5781
|
-
const currentVersion = "0.1.
|
|
5785
|
+
const currentVersion = "0.1.32";
|
|
5782
5786
|
process.stderr.write(
|
|
5783
5787
|
` ${ansi2.gray("Current version:")} ${currentVersion}
|
|
5784
5788
|
`
|
|
@@ -5893,7 +5897,7 @@ async function cmdLogin(options) {
|
|
|
5893
5897
|
process.stderr.write("\n");
|
|
5894
5898
|
printLogo();
|
|
5895
5899
|
process.stderr.write("\n");
|
|
5896
|
-
const ver = "0.1.
|
|
5900
|
+
const ver = "0.1.32";
|
|
5897
5901
|
process.stderr.write(
|
|
5898
5902
|
` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
|
|
5899
5903
|
`
|
|
@@ -6204,7 +6208,7 @@ async function main() {
|
|
|
6204
6208
|
try {
|
|
6205
6209
|
if (command === "version" || command === "-v") {
|
|
6206
6210
|
process.stdout.write(
|
|
6207
|
-
"0.1.
|
|
6211
|
+
"0.1.32\n"
|
|
6208
6212
|
);
|
|
6209
6213
|
return;
|
|
6210
6214
|
}
|