@mindstudio-ai/agent 0.1.94 → 0.1.95

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 CHANGED
@@ -7333,7 +7333,7 @@ async function startMcpServer(options) {
7333
7333
  capabilities: { tools: {} },
7334
7334
  serverInfo: {
7335
7335
  name: "mindstudio-agent",
7336
- version: "0.1.94"
7336
+ version: "0.1.95"
7337
7337
  },
7338
7338
  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.'
7339
7339
  });
@@ -8318,7 +8318,7 @@ function isNewerVersion(current, latest) {
8318
8318
  return false;
8319
8319
  }
8320
8320
  async function checkForUpdate() {
8321
- const currentVersion = "0.1.94";
8321
+ const currentVersion = "0.1.95";
8322
8322
  if (!currentVersion) return null;
8323
8323
  try {
8324
8324
  const { loadConfig: loadConfig2, saveConfig: saveConfig2 } = await Promise.resolve().then(() => (init_config(), config_exports));
@@ -8347,7 +8347,7 @@ async function checkForUpdate() {
8347
8347
  }
8348
8348
  }
8349
8349
  function printUpdateNotice(latestVersion) {
8350
- const currentVersion = "0.1.94";
8350
+ const currentVersion = "0.1.95";
8351
8351
  process.stderr.write(
8352
8352
  `
8353
8353
  ${ansi2.cyanBright("Update available")} ${ansi2.gray(currentVersion + " \u2192")} ${ansi2.cyanBold(latestVersion)}
@@ -8360,7 +8360,7 @@ function isStandaloneBinary() {
8360
8360
  return !argv1.includes("node_modules");
8361
8361
  }
8362
8362
  async function cmdUpdate() {
8363
- const currentVersion = "0.1.94";
8363
+ const currentVersion = "0.1.95";
8364
8364
  process.stderr.write(
8365
8365
  ` ${ansi2.gray("Current version:")} ${currentVersion}
8366
8366
  `
@@ -8495,7 +8495,7 @@ async function cmdLogin(options) {
8495
8495
  process.stderr.write("\n");
8496
8496
  printLogo();
8497
8497
  process.stderr.write("\n");
8498
- const ver = "0.1.94";
8498
+ const ver = "0.1.95";
8499
8499
  process.stderr.write(
8500
8500
  ` ${ansi2.bold("MindStudio Agent")} ${ver ? " " + ansi2.gray("v" + ver) : ""}
8501
8501
  `
@@ -8822,7 +8822,7 @@ async function main() {
8822
8822
  try {
8823
8823
  if (command === "version" || command === "-v") {
8824
8824
  process.stdout.write(
8825
- "0.1.94\n"
8825
+ "0.1.95\n"
8826
8826
  );
8827
8827
  return;
8828
8828
  }
package/dist/index.d.ts CHANGED
@@ -9683,6 +9683,24 @@ interface SessionContext {
9683
9683
  threadId?: string;
9684
9684
  /** Stable visitor key — present for anonymous AND signed-in sessions. */
9685
9685
  visitorId?: string;
9686
+ /**
9687
+ * Voice transport: a browser session (`web`) or a phone call, by direction.
9688
+ * Use it to branch behavior that assumes a screen — on a phone call there
9689
+ * is none, so describe everything in speech. Absent for agent-chat sessions
9690
+ * and on older platform versions — treat absent as `web`.
9691
+ */
9692
+ medium?: 'web' | 'phone-in' | 'phone-out';
9693
+ /**
9694
+ * Phone sessions only: the call's numbers (`fromNumber` = who initiated,
9695
+ * `to` = who was dialed, in both directions). Context and routing only —
9696
+ * caller ID is trivially spoofable, so never treat it as identity: don't
9697
+ * gate roles on it or speak account specifics to an unverified caller.
9698
+ * In-call verification is the auth rail.
9699
+ */
9700
+ sip?: {
9701
+ to: string;
9702
+ fromNumber: string;
9703
+ };
9686
9704
  }
9687
9705
  /**
9688
9706
  * Per-request context provided by the sandbox execution service.