@mindstudio-ai/agent 0.1.126 → 0.1.127

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/README.md CHANGED
@@ -251,7 +251,7 @@ Model types: `llm_chat`, `image_generation`, `video_generation`, `video_analysis
251
251
 
252
252
  ## 1,000+ integrations
253
253
 
254
- 850+ connector actions from the open-source [MindStudio Connector Registry (MSCR)](https://github.com/mindstudio-ai/mscr) — across services like ActiveCampaign, Airtable, Apollo, Canva, ElevenLabs, MailChimp, Notion, and more — alongside 140+ built-in actions for AI, media, web, and data processing.
254
+ 850+ connector actions from the open-source [MindStudio Connector Registry (MSCR)](https://github.com/mindstudio-ai/mscr) — across services like ActiveCampaign, Airtable, Apollo, Canva, ElevenLabs, MailChimp, Notion, QuickBooks and more — alongside 140+ built-in actions for AI, media, web, and data processing.
255
255
 
256
256
  ```typescript
257
257
  // Browse connectors and their actions
@@ -394,11 +394,18 @@ const result = await agent.runTask({
394
394
  tools: [
395
395
  'searchGoogle',
396
396
  'fetchUrl',
397
- { appMethod: 'saveRestaurant', description: 'Persist the researched restaurant.' },
397
+ {
398
+ appMethod: 'saveRestaurant',
399
+ description: 'Persist the researched restaurant.',
400
+ },
398
401
  {
399
402
  name: 'checkExisting',
400
403
  description: 'Look up whether we already track this restaurant.',
401
- inputSchema: { type: 'object', properties: { name: { type: 'string' } }, required: ['name'] },
404
+ inputSchema: {
405
+ type: 'object',
406
+ properties: { name: { type: 'string' } },
407
+ required: ['name'],
408
+ },
402
409
  execute: async (input) => Restaurants.findByName(String(input.name)),
403
410
  },
404
411
  ],
@@ -455,14 +462,22 @@ For decision moments the app detects itself (an ingest branch that lands a row i
455
462
  pending state), hand the moment to the jewels from backend code:
456
463
 
457
464
  ```ts
458
- mindstudio.waitUntil((async () => {
459
- const merge = await mindstudio.jewels.propose(
460
- 'merge-issues', { sourceId: issue.id }, { idempotencyKey: issue.id });
461
- if (merge.outcome !== 'committed') {
462
- await mindstudio.jewels.propose(
463
- 'triage-issue', { issueId: issue.id }, { idempotencyKey: issue.id });
464
- }
465
- })());
465
+ mindstudio.waitUntil(
466
+ (async () => {
467
+ const merge = await mindstudio.jewels.propose(
468
+ 'merge-issues',
469
+ { sourceId: issue.id },
470
+ { idempotencyKey: issue.id },
471
+ );
472
+ if (merge.outcome !== 'committed') {
473
+ await mindstudio.jewels.propose(
474
+ 'triage-issue',
475
+ { issueId: issue.id },
476
+ { idempotencyKey: issue.id },
477
+ );
478
+ }
479
+ })(),
480
+ );
466
481
  ```
467
482
 
468
483
  The platform routes each proposal by the method's autonomy — `recorded` (shadow),
package/dist/cli.js CHANGED
@@ -8801,7 +8801,7 @@ async function startMcpServer(options) {
8801
8801
  capabilities: { tools: {} },
8802
8802
  serverInfo: {
8803
8803
  name: "mindstudio-agent",
8804
- version: "0.1.126"
8804
+ version: "0.1.127"
8805
8805
  },
8806
8806
  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, pass its public image URL to `changeProfilePicture`.\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.'
8807
8807
  });
@@ -9786,7 +9786,7 @@ function isNewerVersion(current, latest) {
9786
9786
  return false;
9787
9787
  }
9788
9788
  async function checkForUpdate() {
9789
- const currentVersion = "0.1.126";
9789
+ const currentVersion = "0.1.127";
9790
9790
  if (!currentVersion) return null;
9791
9791
  try {
9792
9792
  const { loadConfig: loadConfig2, saveConfig: saveConfig2 } = await Promise.resolve().then(() => (init_config(), config_exports));
@@ -9815,7 +9815,7 @@ async function checkForUpdate() {
9815
9815
  }
9816
9816
  }
9817
9817
  function printUpdateNotice(latestVersion) {
9818
- const currentVersion = "0.1.126";
9818
+ const currentVersion = "0.1.127";
9819
9819
  process.stderr.write(
9820
9820
  `
9821
9821
  ${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
@@ -9828,7 +9828,7 @@ function isStandaloneBinary() {
9828
9828
  return !argv1.includes("node_modules");
9829
9829
  }
9830
9830
  async function cmdUpdate() {
9831
- const currentVersion = "0.1.126";
9831
+ const currentVersion = "0.1.127";
9832
9832
  process.stderr.write(
9833
9833
  ` ${ansi2.gray("Current version:")} ${currentVersion}
9834
9834
  `
@@ -9963,7 +9963,7 @@ async function cmdLogin(options) {
9963
9963
  process.stderr.write("\n");
9964
9964
  printLogo();
9965
9965
  process.stderr.write("\n");
9966
- const ver = "0.1.126";
9966
+ const ver = "0.1.127";
9967
9967
  process.stderr.write(
9968
9968
  ` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
9969
9969
  `
@@ -10290,7 +10290,7 @@ async function main() {
10290
10290
  try {
10291
10291
  if (command === "version" || command === "-v") {
10292
10292
  process.stdout.write(
10293
- "0.1.126\n"
10293
+ "0.1.127\n"
10294
10294
  );
10295
10295
  return;
10296
10296
  }